Attempt at fixing broken docs
This patch attempts to fix the broken docs by having the series name match the branch name (2023.1 instead of 2023.1.antelope) A patch was previously merged and reverted[0]. It changed the name of the series, but missed updating the directory names under the www directory. I did test this locally, and it did correctly pupulate the pages with links for the various projects, but I do not know if it fully resolves the issue. Additionally adds redirects for /2023.1.antelope to /2023.1 and 2023.2.bobcat to 2023.2. [0]. https://review.opendev.org/c/openstack/openstack-manuals/+/880060 Change-Id: I39e0740e57502fd96299fea79409e55e49c10367
This commit is contained in:
parent
f11811c4a7
commit
86b1b7ff11
@ -74,8 +74,8 @@ SERIES_INFO = collections.OrderedDict([
|
||||
('xena', SeriesInfo(date='October 2021', status='maintained')),
|
||||
('yoga', SeriesInfo(date='April 2022', status='maintained')),
|
||||
('zed', SeriesInfo(date='October 2022', status='maintained')),
|
||||
('2023.1.antelope', SeriesInfo(date='March 2023', status='maintained')),
|
||||
('2023.2.bobcat', SeriesInfo(date='October 2023', status='development')),
|
||||
('2023.1', SeriesInfo(date='March 2023', status='maintained')),
|
||||
('2023.2', SeriesInfo(date='October 2023', status='development')),
|
||||
])
|
||||
|
||||
# Build a list of the series that are not the current series being
|
||||
|
@ -304,3 +304,8 @@ redirectmatch 301 /infra/nodepool/feature/zuulv3(.*)$ https://zuul-ci.org/docs/n
|
||||
# https://docs.opendev.org/openinfra/refstack
|
||||
{{ deep_links('/refstack', 'https://docs.opendev.org/openinfra/refstack/$1') }}
|
||||
# End redirect refstack
|
||||
|
||||
# Redirect 2023.1.antelope, 2023.2.bobcat to 2023.1, 2023.2 respectively
|
||||
{{ deep_links('/2023.1.antelope', '/2023.1/$1') }}
|
||||
{{ deep_links('/2023.2.bobcat', '/2023.2/$1') }}
|
||||
# End Redirect 2023.1.antelope, 2023.2.bobcat
|
||||
|
@ -332,3 +332,8 @@
|
||||
# https://docs.opendev.org/openinfra/refstack
|
||||
{{ deep_links('/refstack', 'https://docs.opendev.org/openinfra/refstack') }}
|
||||
# End redirect refstack
|
||||
|
||||
# Redirect 2023.1.antelope, 2023.2.bobcat to 2023.1, 2023.2 respectively
|
||||
{{ deep_links('/2023.1.antelope', '/2023.1') }}
|
||||
{{ deep_links('/2023.2.bobcat', '/2023.2') }}
|
||||
# End Redirect 2023.1.antelope, 2023.2.bobcat
|
||||
|
Loading…
x
Reference in New Issue
Block a user