Add and update redirects for Zuul docs reorg

In zuul/zuul change I538ffd7409941c53bf42fe64b7acbc146023c1e3 lots
of documentation files were moved around. This adds redirects from
their old URLs to the new locations for them, and also corrects the
/start convenience URL for its new target after the reorganization.
Add some comments to the .htaccess file too so we can better
organize it.

Change-Id: Ifb12aa59e8a488ee15c72aec01d1a967d7c14fc2
This commit is contained in:
Jeremy Stanley 2020-01-16 16:00:39 +00:00
parent 27d5056afc
commit 80f5eaf032
1 changed files with 114 additions and 1 deletions

View File

@ -1 +1,114 @@
redirectmatch 302 ^/start(/)?$ /docs/zuul/admin/quick-start.html
# Temporary redirect from "/start" convenience URL to the Quick Start Tutorial
redirectmatch 302 ^/start(/)?$ /docs/zuul/tutorials/admins/quick-start.html
# Permanent redirects for documents which have moved in the past
redirectmatch 301 ^/docs/zuul/admin/centos7_setup.html /docs/zuul/howtos/admins/centos7_setup.html
redirectmatch 301 ^/docs/zuul/admin/client.html /docs/zuul/reference/client.html
redirectmatch 301 ^/docs/zuul/admin/components.html /docs/zuul/discussion/components.html
redirectmatch 301 ^/docs/zuul/admin/connections.html /docs/zuul/reference/connections.html
redirectmatch 301 ^/docs/zuul/admin/drivers/gerrit.html /docs/zuul/reference/drivers/gerrit.html
redirectmatch 301 ^/docs/zuul/admin/drivers/git.html /docs/zuul/reference/drivers/git.html
redirectmatch 301 ^/docs/zuul/admin/drivers/github.html /docs/zuul/reference/drivers/github.html
redirectmatch 301 ^/docs/zuul/admin/drivers/mqtt.html /docs/zuul/reference/drivers/mqtt.html
redirectmatch 301 ^/docs/zuul/admin/drivers/pagure.html /docs/zuul/reference/drivers/pagure.html
redirectmatch 301 ^/docs/zuul/admin/drivers/smtp.html /docs/zuul/reference/drivers/smtp.html
redirectmatch 301 ^/docs/zuul/admin/drivers/sql.html /docs/zuul/reference/drivers/sql.html
redirectmatch 301 ^/docs/zuul/admin/drivers/timer.html /docs/zuul/reference/drivers/timer.html
redirectmatch 301 ^/docs/zuul/admin/drivers/zuul.html /docs/zuul/reference/drivers/zuul.html
redirectmatch 301 ^/docs/zuul/admin/examples/docker-compose.yaml /docs/zuul/examples/docker-compose.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/etc_nodepool/nodepool.yaml /docs/zuul/examples/etc_nodepool/nodepool.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/etc_zuul/main.yaml /docs/zuul/examples/etc_zuul/main.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/etc_zuul/zuul.conf /docs/zuul/examples/etc_zuul/zuul.conf
redirectmatch 301 ^/docs/zuul/admin/examples/httpd.conf /docs/zuul/examples/httpd.conf
redirectmatch 301 ^/docs/zuul/admin/examples/logs-Dockerfile /docs/zuul/examples/logs-Dockerfile
redirectmatch 301 ^/docs/zuul/admin/examples/node-Dockerfile /docs/zuul/examples/node-Dockerfile
redirectmatch 301 ^/docs/zuul/admin/examples/pipelines/gerrit-reference-pipelines.yaml /docs/zuul/examples/pipelines/gerrit-reference-pipelines.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/pipelines/pagure-reference-pipelines.yaml /docs/zuul/examples/pipelines/pagure-reference-pipelines.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/playbooks/project.config /docs/zuul/examples/playbooks/project.config
redirectmatch 301 ^/docs/zuul/admin/examples/playbooks/roles/create_project/tasks/main.yaml /docs/zuul/examples/playbooks/roles/create_project/tasks/main.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/playbooks/setup.yaml /docs/zuul/examples/playbooks/setup.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/playbooks/wait-to-start-gearman.sh /docs/zuul/examples/playbooks/wait-to-start-gearman.sh
redirectmatch 301 ^/docs/zuul/admin/examples/playbooks/wait-to-start.sh /docs/zuul/examples/playbooks/wait-to-start.sh
redirectmatch 301 ^/docs/zuul/admin/examples/test1/playbooks/testjob.yaml /docs/zuul/examples/test1/playbooks/testjob.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/test1/zuul.yaml /docs/zuul/examples/test1/zuul.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/zuul-config/playbooks/base/post-logs.yaml /docs/zuul/examples/zuul-config/playbooks/base/post-logs.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/zuul-config/playbooks/base/post-ssh.yaml /docs/zuul/examples/zuul-config/playbooks/base/post-ssh.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/zuul-config/playbooks/base/pre.yaml /docs/zuul/examples/zuul-config/playbooks/base/pre.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/zuul-config/zuul.d/jobs.yaml /docs/zuul/examples/zuul-config/zuul.d/jobs.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/zuul-config/zuul.d/jobs2.yaml /docs/zuul/examples/zuul-config/zuul.d/jobs2.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/zuul-config/zuul.d/pipelines.yaml /docs/zuul/examples/zuul-config/zuul.d/pipelines.yaml
redirectmatch 301 ^/docs/zuul/admin/examples/zuul-config/zuul.d/projects.yaml /docs/zuul/examples/zuul-config/zuul.d/projects.yaml
redirectmatch 301 ^/docs/zuul/admin/fedora27_setup.html /docs/zuul/howtos/admins/fedora27_setup.html
redirectmatch 301 ^/docs/zuul/admin/gerrit_setup.html /docs/zuul/howtos/admins/gerrit_setup.html
redirectmatch 301 ^/docs/zuul/admin/github_setup.html /docs/zuul/howtos/admins/github_setup.html
redirectmatch 301 ^/docs/zuul/admin/images/become-select.png /docs/zuul/images/become-select.png
redirectmatch 301 ^/docs/zuul/admin/images/check1-1002.png /docs/zuul/images/check1-1002.png
redirectmatch 301 ^/docs/zuul/admin/images/check2-1002.png /docs/zuul/images/check2-1002.png
redirectmatch 301 ^/docs/zuul/admin/images/confirm.png /docs/zuul/images/confirm.png
redirectmatch 301 ^/docs/zuul/admin/images/email.png /docs/zuul/images/email.png
redirectmatch 301 ^/docs/zuul/admin/images/open-changes.png /docs/zuul/images/open-changes.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/become-select.png /docs/zuul/images/orig/become-select.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/check1-1002.png /docs/zuul/images/orig/check1-1002.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/check2-1002.png /docs/zuul/images/orig/check2-1002.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/confirm.png /docs/zuul/images/orig/confirm.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/open-changes.png /docs/zuul/images/orig/open-changes.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/recheck-1002.png /docs/zuul/images/orig/recheck-1002.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/register.png /docs/zuul/images/orig/register.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/review-1001.png /docs/zuul/images/orig/review-1001.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/review-1003.png /docs/zuul/images/orig/review-1003.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/settings.png /docs/zuul/images/orig/settings.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/sign-in.png /docs/zuul/images/orig/sign-in.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/sign-out-admin.png /docs/zuul/images/orig/sign-out-admin.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/sign-out-user.png /docs/zuul/images/orig/sign-out-user.png
redirectmatch 301 ^/docs/zuul/admin/images/orig/submit-1001.png /docs/zuul/images/orig/submit-1001.png
redirectmatch 301 ^/docs/zuul/admin/images/profile.png /docs/zuul/images/profile.png
redirectmatch 301 ^/docs/zuul/admin/images/recheck-1002.png /docs/zuul/images/recheck-1002.png
redirectmatch 301 ^/docs/zuul/admin/images/register.png /docs/zuul/images/register.png
redirectmatch 301 ^/docs/zuul/admin/images/review-1001.png /docs/zuul/images/review-1001.png
redirectmatch 301 ^/docs/zuul/admin/images/review-1003.png /docs/zuul/images/review-1003.png
redirectmatch 301 ^/docs/zuul/admin/images/sign-in.png /docs/zuul/images/sign-in.png
redirectmatch 301 ^/docs/zuul/admin/images/sign-out-admin.png /docs/zuul/images/sign-out-admin.png
redirectmatch 301 ^/docs/zuul/admin/images/sign-out-user.png /docs/zuul/images/sign-out-user.png
redirectmatch 301 ^/docs/zuul/admin/images/sshkey.png /docs/zuul/images/sshkey.png
redirectmatch 301 ^/docs/zuul/admin/images/submit-1001.png /docs/zuul/images/submit-1001.png
redirectmatch 301 ^/docs/zuul/admin/installation.html /docs/zuul/howtos/admins/installation.html
redirectmatch 301 ^/docs/zuul/admin/monitoring.html /docs/zuul/reference/monitoring.html
redirectmatch 301 ^/docs/zuul/admin/nodepool_install.html /docs/zuul/howtos/admins/nodepool_install.html
redirectmatch 301 ^/docs/zuul/admin/nodepool_openstack.html /docs/zuul/howtos/admins/nodepool_openstack.html
redirectmatch 301 ^/docs/zuul/admin/nodepool_static.html /docs/zuul/howtos/admins/nodepool_static.html
redirectmatch 301 ^/docs/zuul/admin/opensuse_leap15_setup.html /docs/zuul/howtos/admins/opensuse_leap15_setup.html
redirectmatch 301 ^/docs/zuul/admin/quick-start.html /docs/zuul/tutorials/admins/quick-start.html
redirectmatch 301 ^/docs/zuul/admin/tenant-scoped-rest-api.html /docs/zuul/discussion/tenant-scoped-rest-api.html
redirectmatch 301 ^/docs/zuul/admin/tenants.html /docs/zuul/discussion/tenants.html
redirectmatch 301 ^/docs/zuul/admin/troubleshooting.html /docs/zuul/howtos/admins/troubleshooting.html
redirectmatch 301 ^/docs/zuul/admin/zuul-from-scratch.html /docs/zuul/howtos/admins/zuul-from-scratch.html
redirectmatch 301 ^/docs/zuul/admin/zuul_install.html /docs/zuul/howtos/admins/zuul_install.html
redirectmatch 301 ^/docs/zuul/developer/ansible.html /docs/zuul/reference/developer/ansible.html
redirectmatch 301 ^/docs/zuul/developer/datamodel.html /docs/zuul/reference/developer/datamodel.html
redirectmatch 301 ^/docs/zuul/developer/docs.html /docs/zuul/reference/developer/docs.html
redirectmatch 301 ^/docs/zuul/developer/drivers.html /docs/zuul/reference/developer/drivers.html
redirectmatch 301 ^/docs/zuul/developer/index.html /docs/zuul/reference/developer/index.html
redirectmatch 301 ^/docs/zuul/developer/javascript.html /docs/zuul/reference/developer/javascript.html
redirectmatch 301 ^/docs/zuul/developer/releasenotes.html /docs/zuul/reference/developer/releasenotes.html
redirectmatch 301 ^/docs/zuul/developer/specs/container-build-resources.html /docs/zuul/reference/developer/specs/container-build-resources.html
redirectmatch 301 ^/docs/zuul/developer/specs/index.html /docs/zuul/reference/developer/specs/index.html
redirectmatch 301 ^/docs/zuul/developer/specs/kubernetes-operator.html /docs/zuul/reference/developer/specs/kubernetes-operator.html
redirectmatch 301 ^/docs/zuul/developer/specs/logs.html /docs/zuul/reference/developer/specs/logs.html
redirectmatch 301 ^/docs/zuul/developer/specs/multiple-ansible-versions.html /docs/zuul/reference/developer/specs/multiple-ansible-versions.html
redirectmatch 301 ^/docs/zuul/developer/specs/tenant-scoped-admin-web-API.html /docs/zuul/reference/developer/specs/tenant-scoped-admin-web-API.html
redirectmatch 301 ^/docs/zuul/developer/testing.html /docs/zuul/reference/developer/testing.html
redirectmatch 301 ^/docs/zuul/developer/triggers.html /docs/zuul/reference/developer/triggers.html
redirectmatch 301 ^/docs/zuul/glossary.html /docs/zuul/reference/glossary.html
redirectmatch 301 ^/docs/zuul/governance.html /docs/zuul/overview/governance.html
redirectmatch 301 ^/docs/zuul/releasenotes.html /docs/zuul/overview/releasenotes.html
redirectmatch 301 ^/docs/zuul/user/badges.html /docs/zuul/howtos/users/badges.html
redirectmatch 301 ^/docs/zuul/user/concepts.html /docs/zuul/discussion/concepts.html
redirectmatch 301 ^/docs/zuul/user/config.html /docs/zuul/reference/config.html
redirectmatch 301 ^/docs/zuul/user/encryption.html /docs/zuul/discussion/encryption.html
redirectmatch 301 ^/docs/zuul/user/gating.html /docs/zuul/discussion/gating.html
redirectmatch 301 ^/docs/zuul/user/howtos/cross-project-gating.html /docs/zuul/howtos/users/cross-project-gating.html
redirectmatch 301 ^/docs/zuul/user/howtos/pti.html /docs/zuul/howtos/users/pti.html
redirectmatch 301 ^/docs/zuul/user/index.html /docs/zuul/discussion/index.html
redirectmatch 301 ^/docs/zuul/user/jobs.html /docs/zuul/reference/jobs.html
redirectmatch 301 ^/docs/zuul/user/vulnerabilities.html /docs/zuul/overview/vulnerabilities.html
redirectmatch 301 ^/docs/zuul/user/web.html /docs/zuul/reference/web.html