From c7cc19b436f986b0974f0c2bb121313c98626fe1 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 26 Feb 2021 20:58:24 +0000 Subject: [PATCH] Redirect git-review docs to opendev The opendev/git-review projects has started publishing its documentation on the docs.opendev.org site now, so install a redirect from the former location for the sake of user continuity. Change-Id: I10c45b4940491f795ab6c503bc0d2417310fd144 Depends-On: https://review.opendev.org/777799 --- www/.htaccess | 5 +++++ www/redirect-tests.txt | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/www/.htaccess b/www/.htaccess index caeb1cacd8..1f58e0c293 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -277,6 +277,11 @@ redirectmatch 301 /infra/nodepool/feature/zuulv3(.*)$ https://zuul-ci.org/docs/n {{ deep_links('/infra/bindep', 'https://docs.opendev.org/opendev/bindep/latest/$1') }} # End redirect bindep +# Redirect https://docs.openstack.org/infra/git-review to +# https://docs.opendev.org/opendev/git-review +{{ deep_links('/infra/git-review', 'https://docs.opendev.org/opendev/git-review/latest/$1') }} +# End redirect git-review + # Redirect https://docs.openstack.org/infra/manual to # https://docs.opendev.org/opendev/infra-manual {{ deep_links('/infra/manual', 'https://docs.opendev.org/opendev/infra-manual/latest/$1') }} diff --git a/www/redirect-tests.txt b/www/redirect-tests.txt index e6b6fbb930..8f9843079f 100644 --- a/www/redirect-tests.txt +++ b/www/redirect-tests.txt @@ -303,6 +303,11 @@ {{ deep_links('/infra/bindep', 'https://docs.opendev.org/opendev/bindep/latest') }} # End redirect bindep +# Redirect https://docs.openstack.org/infra/git-review to +# https://docs.opendev.org/opendev/git-review +{{ deep_links('/infra/git-review', 'https://docs.opendev.org/opendev/git-review/latest') }} +# End redirect git-review + # Redirect https://docs.openstack.org/infra/manual to # https://docs.opendev.org/opendev/infra-manual {{ deep_links('/infra/manual', 'https://docs.opendev.org/opendev/infra-manual/latest') }}