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: I971b04156e8e7be18fdec6859e4b696f5dd3d7da
changes/24/834524/1
James E. Blair 6 months ago
parent 023f6f0f6c
commit 88d532ea6e
  1. 2
      doc/source/conf.py

@ -67,8 +67,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

Loading…
Cancel
Save