From e1c5cfd372f00f24622ef7740076d7050800be0a Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Tue, 25 May 2021 17:23:34 -0400 Subject: [PATCH] Add LAMMPS_WEBSITE_BUILD_VERSION to set current doc version --- doc/utils/sphinx-config/conf.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/utils/sphinx-config/conf.py.in b/doc/utils/sphinx-config/conf.py.in index 0a13b10754..ff7e8a6f39 100644 --- a/doc/utils/sphinx-config/conf.py.in +++ b/doc/utils/sphinx-config/conf.py.in @@ -411,7 +411,7 @@ except NameError: is_website_build = os.environ.get('LAMMPS_WEBSITE_BUILD', '0') != '0' html_context['display_manual_versions'] = is_website_build -html_context['current_version'] = os.environ.get('LAMMPS_WEBSITE_BUILD', version) +html_context['current_version'] = os.environ.get('LAMMPS_WEBSITE_BUILD_VERSION', version) html_context['git_commit'] = git_commit html_context['versions'] = [ ('latest', 'https://docs.lammps.org/latest/'),