From 6acbcbb2f97f9832083ce33a53619c123d307d3e Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 21 Mar 2022 10:28:29 -0700 Subject: [PATCH] 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 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 279d6d1..a771074 100755 --- a/doc/source/conf.py +++ b/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