From 8556867e6f5aaa3d132631dece3c67bdfb1c8ced Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 4 Feb 2021 19:07:35 +0000 Subject: [PATCH] Redirect bindep docs to opendev The opendev/bindep 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: I6f8da8772bef24057970cda8cbed7838b3125645 Depends-On: https://review.opendev.org/773796 --- www/.htaccess | 5 +++++ www/redirect-tests.txt | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/www/.htaccess b/www/.htaccess index 9bfbfe97ff..caeb1cacd8 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -272,6 +272,11 @@ redirectmatch 301 /infra/nodepool/feature/zuulv3(.*)$ https://zuul-ci.org/docs/n {{ deep_links('/project-install-guide/baremetal/draft', '/ironic/latest/install/$1') }} # End redirect outdated bare metal installation guide +# Redirect https://docs.openstack.org/infra/bindep to +# https://docs.opendev.org/opendev/bindep +{{ deep_links('/infra/bindep', 'https://docs.opendev.org/opendev/bindep/latest/$1') }} +# End redirect bindep + # 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 2ecd515dea..e6b6fbb930 100644 --- a/www/redirect-tests.txt +++ b/www/redirect-tests.txt @@ -298,6 +298,11 @@ {{ deep_links('/project-install-guide/baremetal/draft', '/ironic/latest/install') }} # End redirect outdated bare metal installation guide +# Redirect https://docs.openstack.org/infra/bindep to +# https://docs.opendev.org/opendev/bindep +{{ deep_links('/infra/bindep', 'https://docs.opendev.org/opendev/bindep/latest') }} +# End redirect bindep + # 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') }}