From 225128a5d9fd2147f737252493da7d7ecdf3680e Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Thu, 2 Mar 2023 04:13:05 -0500 Subject: [PATCH] [v9.4.x] Fix redirect from /setup-grafana/upgrade-grafana/ to /upgrade-guide/ (#63999) Fix redirect from /setup-grafana/upgrade-grafana/ to /upgrade-guide/ (#63914) Additionally fix redirect from `/installation/upgrading/` to `/setup-grafana/upgrade-grafana/`. The alias proposed in https://github.com/grafana/grafana/pull/62402#discussion_r1090526464 was incorrect. It used the `../installation/upgrading/` alias as reference but I did not check the redirect. As this page itself has moved from `/setup-grafana/upgrade-grafana/` to `/upgrade-guide/` the relative alias needed updating also. To verify that this alias is working as expected: 1. Checkout this branch. 2. Run `make docs` 3. Browse to http://localhost:3002/docs/grafana/latest/setup-grafana/upgrade-grafana/ 4. Verify that you have been redirected to http://localhost:3002/docs/grafana/latest/upgrade-guide/ 5. Browse to http://localhost:3002/docs/grafana/latest/installation/upgrading/ 6. Verify that you have been redirected to http://localhost:3002/docs/grafana/latest/upgrade-guide/ Signed-off-by: Jack Baldry (cherry picked from commit f3e08a3560af01b3387fdc075d1fe38d5736b162) Co-authored-by: Jack Baldry --- docs/sources/upgrade-guide/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/upgrade-guide/_index.md b/docs/sources/upgrade-guide/_index.md index c5d34a79983..ba7da43dbfd 100644 --- a/docs/sources/upgrade-guide/_index.md +++ b/docs/sources/upgrade-guide/_index.md @@ -1,7 +1,7 @@ --- aliases: - - ../installation/upgrading/ - - ../setup-grafana/upgrade-grafana + - installation/upgrading/ + - setup-grafana/upgrade-grafana description: Guide for upgrading Grafana keywords: - grafana