Skip to content

Commit

Permalink
update version switcher for 2.18 (#2090) (#2098)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4eea539)

Co-authored-by: Sandra McCann <samccann@redhat.com>
  • Loading branch information
patchback[bot] and samccann authored Nov 4, 2024
1 parent 8b1b329 commit 11e270a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docsite/rst/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,15 @@
'current_version': version,
'latest_version': (
'devel' if tags.has('all') else
'2.17' if tags.has('core_lang') or tags.has('core') else
'2.18' if tags.has('core_lang') or tags.has('core') else
'10' if tags.has('ansible')
else '<UNKNOWN>'
),
# list specifically out of order to make latest work
'available_versions': (
('devel',) if tags.has('all') else
('2.15_ja', '2.14_ja', '2.13_ja',) if tags.has('core_lang') else
('2.17', '2.16', '2.15', 'devel',) if tags.has('core') else
('2.18', '2.17', '2.16', 'devel',) if tags.has('core') else
('latest', '9', '2.9', 'devel') if tags.has('ansible')
else '<UNKNOWN>'
),
Expand Down

0 comments on commit 11e270a

Please sign in to comment.