Skip to content

Commit

Permalink
Merge "Fix links in docs for unmaintained releases" into unmaintained…
Browse files Browse the repository at this point in the history
…/yoga
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 25, 2024
2 parents c166cb6 + 3d257ad commit a9e6cd3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,26 @@

# Global variables
# For replacement, use in docs as |VAR_NAME| (note there's no space around variable name)
# When adding new variables, make sure you add them to GLOBAL_VARIABLE_MAP dictionary as well
# When adding new variables, that you want to use in documentation, make sure you add
# them to GLOBAL_VARIABLE_MAP dictionary as well. KOLLA_OPENSTACK_RELEASE_UNMAINTAINED is
# used only to denote unmaintained branches, and it is not intended to be used for
# replacing anything in documentation.

KOLLA_OPENSTACK_RELEASE = openstackdocstheme.ext._get_series_name()

KOLLA_OPENSTACK_RELEASE_UNMAINTAINED = [
'yoga',
'zed',
]

if KOLLA_OPENSTACK_RELEASE == 'latest':
KOLLA_OPENSTACK_RELEASE = 'master'
KOLLA_BRANCH_NAME = 'master'
TESTED_RUNTIMES_GOVERNANCE_URL = 'https://governance.openstack.org/tc/reference/runtimes/'
elif KOLLA_OPENSTACK_RELEASE in KOLLA_OPENSTACK_RELEASE_UNMAINTAINED:
KOLLA_BRANCH_NAME = 'unmaintained/{}'.format(KOLLA_OPENSTACK_RELEASE)
TESTED_RUNTIMES_GOVERNANCE_URL =\
'https://governance.openstack.org/tc/reference/runtimes/{}.html'.format(KOLLA_OPENSTACK_RELEASE)
else:
KOLLA_BRANCH_NAME = 'unmaintained/{}'.format(KOLLA_OPENSTACK_RELEASE)
TESTED_RUNTIMES_GOVERNANCE_URL =\
Expand Down

0 comments on commit a9e6cd3

Please sign in to comment.