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
This commit is contained in:
parent
de66818cf6
commit
01ec0f0933
|
@ -128,7 +128,8 @@
|
||||||
// The below paths are referenced in users projects generated by the CLI
|
// 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/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/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": [
|
"rewrites": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -148,6 +148,7 @@
|
||||||
"!/styleguide/**",
|
"!/styleguide/**",
|
||||||
"!/testing",
|
"!/testing",
|
||||||
"!/testing/**",
|
"!/testing/**",
|
||||||
"!/config/**"
|
"!/config/**",
|
||||||
|
"!/strict"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue