Document how to add a splat redirect for the archives and make it part of the monthly docs release
We will be moving the old unsupported versions to the archives docs site. For this, we need to:
-
Edit
redirects.yaml
and add an entry with the retired version:- from: /14.2/* to: https://archives.docs.gitlab.com/14.2/:splat
-
Add the new Docker lunr-based image to the
archives.Dockerfile
.
Those need to be done each month during the docs release. We should the issue template or the releases doc to include those steps.
Test it
Now that archives has 15.1 deployed, we can change and test redirects.yaml
:
- from: /15.1/*
to: https://archives.docs.gitlab.com/15.1/:splat
After !3173 (merged) is merged and deployed, check https://docs.gitlab.com/15.1/ee/user/project/labels.html to see if it'll redirect to the archives page.
Edited by Achilleas Pipinellis