From 4d0f497689212c8bc59f917cab58453d51b32617 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Wed, 14 Jul 2021 16:20:30 -0400 Subject: [PATCH] Fix sphinx_version string --- sphinx/builders/html/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/builders/html/__init__.py b/sphinx/builders/html/__init__.py index 980eca3d9b4..b7295abd0e1 100644 --- a/sphinx/builders/html/__init__.py +++ b/sphinx/builders/html/__init__.py @@ -509,7 +509,7 @@ def prepare_writing(self, docnames: Set[str]) -> None: 'script_files': self.script_files, 'language': self.config.language, 'css_files': self.css_files, - 'sphinx_version': sphinx_version, + 'sphinx_version': __display_version__, 'sphinx_version_tuple': sphinx_version, 'style': self._get_style_filename(), 'rellinks': rellinks,