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: Idf0116177cdebf9edb248fe8ca16c0bbcc6d8150
This commit is contained in:
James E. Blair 2022-03-21 10:23:22 -07:00
parent b13feb7ae8
commit e244faa159
1 changed files with 1 additions and 1 deletions

View File

@ -69,8 +69,8 @@ pygments_style = 'sphinx'
html_theme = "sphinx_rtd_theme"
if version.is_release:
version = version.release_string
current_version = version.release_string
version = version.release_string
versions = [('latest', f'{doc_root}/')]
else:
# Uncomment this if we want to use the in-development version