From 39a67548acc3c580d6955b82fd87d4667a782837 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Fri, 14 Sep 2018 10:04:39 +0100 Subject: [PATCH] build(docs-infra): add option to run only the doc-gen (#25363) This can save time when iterating by not regenerating the zips and embedded examples. PR Close #25363 --- aio/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aio/package.json b/aio/package.json index 3bc9867140..a02221b510 100644 --- a/aio/package.json +++ b/aio/package.json @@ -41,7 +41,8 @@ "postcheck-env": "yarn aio-check-local", "payload-size": "scripts/payload.sh", "predocs": "yarn generate-stackblitz && yarn generate-zips", - "docs": "dgeni ./tools/transforms/angular.io-package", + "docs": "yarn docs-only", + "docs-only": "dgeni ./tools/transforms/angular.io-package", "docs-watch": "node tools/transforms/authors-package/watchr.js", "docs-lint": "eslint --ignore-path=\"tools/transforms/.eslintignore\" tools/transforms", "docs-test": "node tools/transforms/test.js",