From 01ec0f09339465e27b9cff7e7a5ff0c64ccdcca6 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 6 Oct 2020 12:29:58 +0200 Subject: [PATCH] feat(docs-infra): add short url for strict mode guide (#39129) With this change we add a short url to strict mode guide (angular.io/strict -> angular.io/guide/strict-mode). This is important because of two reasons. 1) Reduce the clutter in the terminal when we include the strict mode guide url in a prompt. 2) Easiler to share in conferences, slides etc.. PR Close #39129 --- aio/firebase.json | 3 ++- aio/ngsw-config.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/aio/firebase.json b/aio/firebase.json index ae07bfe70f..a25994b18b 100644 --- a/aio/firebase.json +++ b/aio/firebase.json @@ -128,7 +128,8 @@ // The below paths are referenced in users projects generated by the CLI {"type": 301, "source": "/config/tsconfig", "destination": "/guide/typescript-configuration"}, {"type": 301, "source": "/config/solution-tsconfig", "destination": "https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/#solution-style-tsconfig"}, - {"type": 301, "source": "/config/app-package-json", "destination": "/guide/strict-mode#non-local-side-effects-in-applications"} + {"type": 301, "source": "/config/app-package-json", "destination": "/guide/strict-mode#non-local-side-effects-in-applications"}, + {"type": 301, "source": "/strict", "destination": "/guide/strict-mode"} ], "rewrites": [ { diff --git a/aio/ngsw-config.json b/aio/ngsw-config.json index c3977373aa..7de07ae773 100644 --- a/aio/ngsw-config.json +++ b/aio/ngsw-config.json @@ -148,6 +148,7 @@ "!/styleguide/**", "!/testing", "!/testing/**", - "!/config/**" + "!/config/**", + "!/strict" ] }