From eecfb6bc4ec21c8b7def7e085775cee73dc9ff2f Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 23 Oct 2023 12:24:21 +0000 Subject: [PATCH] docs(@angular-devkit/build-angular): update prendering options descriptions This commit updates several option descriptions --- .../build_angular/src/builders/application/schema.json | 4 ++-- .../build_angular/src/builders/prerender/schema.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/angular_devkit/build_angular/src/builders/application/schema.json b/packages/angular_devkit/build_angular/src/builders/application/schema.json index 625f2998f2ab..ee9946773976 100644 --- a/packages/angular_devkit/build_angular/src/builders/application/schema.json +++ b/packages/angular_devkit/build_angular/src/builders/application/schema.json @@ -426,11 +426,11 @@ "properties": { "routesFile": { "type": "string", - "description": "The path to a file containing routes separated by newlines." + "description": "The path to a file that contains a list of all routes to prerender, separated by newlines. This option is useful if you want to prerender routes with parameterized URLs." }, "discoverRoutes": { "type": "boolean", - "description": "Whether the builder should discover routers using the Angular Router.", + "description": "Whether the builder should process the Angular Router configuration to find all unparameterized routes and prerender them.", "default": true } }, diff --git a/packages/angular_devkit/build_angular/src/builders/prerender/schema.json b/packages/angular_devkit/build_angular/src/builders/prerender/schema.json index 5867481d9bf1..18d7d8956ece 100644 --- a/packages/angular_devkit/build_angular/src/builders/prerender/schema.json +++ b/packages/angular_devkit/build_angular/src/builders/prerender/schema.json @@ -15,7 +15,7 @@ }, "routesFile": { "type": "string", - "description": "The path to a file containing routes separated by newlines." + "description": "The path to a file that contains a list of all routes to prerender, separated by newlines. This option is useful if you want to prerender routes with parameterized URLs." }, "routes": { "type": "array", @@ -29,7 +29,7 @@ }, "discoverRoutes": { "type": "boolean", - "description": "Whether the builder should discover routers using the Angular Router.", + "description": "Whether the builder should process the Angular Router configuration to find all unparameterized routes and prerender them.", "default": true } },