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: Ica90e9c0cc20aa590ad0177a0ceab72f4f4c6b5b
This commit is contained in:
parent
202ca394fb
commit
6acbcbb2f9
@ -67,8 +67,8 @@ pygments_style = 'sphinx'
|
|||||||
html_theme = "sphinx_rtd_theme"
|
html_theme = "sphinx_rtd_theme"
|
||||||
|
|
||||||
if version.is_release:
|
if version.is_release:
|
||||||
version = version.release_string
|
|
||||||
current_version = version.release_string
|
current_version = version.release_string
|
||||||
|
version = version.release_string
|
||||||
versions = [('latest', f'{doc_root}/')]
|
versions = [('latest', f'{doc_root}/')]
|
||||||
else:
|
else:
|
||||||
# Uncomment this if we want to use the in-development version
|
# Uncomment this if we want to use the in-development version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user