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
This commit is contained in:
George Kalpakas 2022-07-13 17:37:45 +03:00 committed by Jessica Janiuk
parent f67d2cabaf
commit df87f4afb5
2 changed files with 2 additions and 0 deletions

View file

@ -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"},

View file

@ -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