Correct tagged version docs build
A variable reassignment in conf.py caused errors when we try to build release versions of docs. Correct that by swapping the order of use and assignment. Change-Id: I19c575974bd57e27ae62f32271949de20dc67067
This commit is contained in:
@ -75,8 +75,8 @@ html_theme = "sphinx_rtd_theme"
|
||||
html_baseurl = f'https://zuul-ci.org{doc_root}/latest'
|
||||
|
||||
if version.is_release:
|
||||
version = version.release_string
|
||||
current_version = version.release_string
|
||||
version = version.release_string
|
||||
versions = [('latest', f'{doc_root}/latest/')]
|
||||
else:
|
||||
# Uncomment this if we want to use the in-development version
|
||||
|
Reference in New Issue
Block a user