Fix lack of the Yoga version in dropdown list
Since stable/yoga renamed to unmaintained/yoga the version is not shown in the dropdown list of the available versions on the https://docs.openstack.org in almost all projects. This change fixes the issue. Change-Id: I4f5f1bec04be3152c0f23ac17e450a1fd6fe91d4 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
parent
ff0be4578e
commit
73bb94525d
@ -62,7 +62,8 @@ def _get_other_versions(app):
|
||||
refs = repo.get_refs()
|
||||
for ref in refs.keys():
|
||||
ref = ref.decode('utf-8')
|
||||
if ref.startswith('refs/remotes/origin/stable'):
|
||||
if (ref.startswith('refs/remotes/origin/stable') or
|
||||
ref.startswith('refs/remotes/origin/unmaintained')):
|
||||
series = ref.rpartition('/')[-1]
|
||||
all_series.append(series)
|
||||
elif ref.startswith('refs/tags/') and ref.endswith('-eol'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user