From df87f4afb5ce6d8f2f9d6ec90ad48599af3f375d Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Wed, 13 Jul 2022 17:37:45 +0300 Subject: [PATCH] docs: redirect `/guide/ivy` to the v12 guide (#46820) Since Ivy is the default since v13, the Ivy guide (that used to live at https://angular.io/guide/ivy) has been removed (see #43860). However, there are certain error messages emitted by the CLI that still point to it. This commit address the problem by adding a redirect from https://angular.io/guide/ivy to https://v12.angular.io/guide/ivy (which is the last version that includes the guide). Fixes #46717 PR Close #46820 --- aio/firebase.json | 1 + aio/tests/deployment/shared/URLS_TO_REDIRECT.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/aio/firebase.json b/aio/firebase.json index 09c1b8cca75..89a056181ee 100644 --- a/aio/firebase.json +++ b/aio/firebase.json @@ -75,6 +75,7 @@ {"type": 301, "source": "/getting-started", "destination": "/start"}, {"type": 301, "source": "/getting-started/:rest*", "destination": "/start/:rest*"}, {"type": 301, "source": "/guide/displaying-data", "destination": "/start#template-syntax"}, + {"type": 301, "source": "/guide/ivy", "destination": "https://v12.angular.io/guide/ivy"}, {"type": 301, "source": "/guide/updating-to-version-10", "destination": "https://v10.angular.io/guide/updating-to-version-10"}, {"type": 301, "source": "/guide/updating-to-version-11", "destination": "https://v11.angular.io/guide/updating-to-version-11"}, {"type": 301, "source": "/guide/updating-to-version-12", "destination": "/guide/update-to-latest-version"}, diff --git a/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt b/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt index 8a0adc8324f..9379d3da102 100644 --- a/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt +++ b/aio/tests/deployment/shared/URLS_TO_REDIRECT.txt @@ -205,6 +205,7 @@ /guide/displaying-data --> /start#template-syntax /guide/i18n --> /guide/i18n-overview /guide --> /docs +/guide/ivy --> https://v12.angular.io/guide/ivy /guide/learning-angular --> /start /guide/learning-angular.html --> /start /guide/metadata --> /guide/aot-compiler