There was an error while loading. Please reload this page.
2 parents d9c346a + 99f170e commit d046061Copy full SHA for d046061
1 file changed
conf.py
@@ -22,7 +22,8 @@
22
# The short X.Y version.
23
version = 'latest'
24
# The full version, including alpha/beta/rc tags.
25
-release = version
+# Can be overridden via DOCS_RELEASE env var (used for PDF builds to show the actual version number)
26
+release = os.environ.get('DOCS_RELEASE', version)
27
28
# RTD theme options
29
html_theme_options = {
0 commit comments