From 88d532ea6e41847fc5dc147fc8d9c8eaacd8fabe Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 21 Mar 2022 10:27:57 -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: I971b04156e8e7be18fdec6859e4b696f5dd3d7da --- 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 502a5cb..a5bc6ce 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