From f696ecb4240b47e6a2faf295394c1d4a242579b3 Mon Sep 17 00:00:00 2001 From: Matthieu Riegler Date: Sat, 16 Nov 2024 17:46:27 +0100 Subject: [PATCH] docs(docs-infra): redirect to the root of the app. (#58700) Prior to this commits the redirected path was relative. fixes #58699 PR Close #58700 --- adev/src/app/routes.ts | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/adev/src/app/routes.ts b/adev/src/app/routes.ts index 0272f621b93..c6b56429aeb 100644 --- a/adev/src/app/routes.ts +++ b/adev/src/app/routes.ts @@ -124,71 +124,71 @@ const API_REFERENCE_ROUTES: Route[] = mapApiManifestToRoutes(); const REDIRECT_ROUTES: Route[] = [ { path: 'guide/defer', - redirectTo: 'guide/templates/defer', + redirectTo: '/guide/templates/defer', }, { path: 'guide/components/importing', - redirectTo: 'guide/components/anatomy-of-components#using-components', + redirectTo: '/guide/components/anatomy-of-components#using-components', }, { path: 'guide/templates/attribute-binding', - redirectTo: 'guide/templates/binding#binding-dynamic-properties-and-attributes', + redirectTo: '/guide/templates/binding#binding-dynamic-properties-and-attributes', }, { path: 'guide/templates/interpolation', - redirectTo: 'guide/templates/binding#render-dynamic-text-with-text-interpolation', + redirectTo: '/guide/templates/binding#render-dynamic-text-with-text-interpolation', }, { path: 'guide/templates/class-binding', - redirectTo: 'guide/templates/binding#css-class-and-style-property-bindings', + redirectTo: '/guide/templates/binding#css-class-and-style-property-bindings', }, { path: 'guide/templates/event-binding', - redirectTo: 'guide/templates/event-listeners', + redirectTo: '/guide/templates/event-listeners', }, { path: 'guide/templates/let-template-variables', - redirectTo: 'guide/templates/variables#local-template-variables-with-let', + redirectTo: '/guide/templates/variables#local-template-variables-with-let', }, { path: 'guide/templates/property-binding', - redirectTo: 'guide/templates/binding#binding-dynamic-properties-and-attributes', + redirectTo: '/guide/templates/binding#binding-dynamic-properties-and-attributes', }, { path: 'guide/templates/property-binding-best-practices', - redirectTo: 'guide/templates/binding#binding-dynamic-properties-and-attributes', + redirectTo: '/guide/templates/binding#binding-dynamic-properties-and-attributes', }, { path: 'guide/templates/reference-variables', - redirectTo: 'guide/templates/variables#template-reference-variables', + redirectTo: '/guide/templates/variables#template-reference-variables', }, { path: 'guide/templates/svg-in-templates', - redirectTo: 'guide/templates/binding', + redirectTo: '/guide/templates/binding', }, { path: 'guide/templates/template-statements', - redirectTo: 'guide/templates/event-listeners', + redirectTo: '/guide/templates/event-listeners', }, { path: 'guide/signals/rxjs-interop', - redirectTo: 'ecosystem/rxjs-interop', + redirectTo: '/ecosystem/rxjs-interop', }, { path: 'guide/components/output-function', - redirectTo: 'guide/components/outputs', + redirectTo: '/guide/components/outputs', }, { path: 'guide/signals/queries', - redirectTo: 'guide/components/queries', + redirectTo: '/guide/components/queries', }, { path: 'guide/signals/model', - redirectTo: 'guide/signals/inputs', + redirectTo: '/guide/signals/inputs', }, { path: 'guide/signals/inputs', - redirectTo: 'guide/components/inputs', + redirectTo: '/guide/components/inputs', }, { path: 'guide',