We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4152398 + 644bbe1 commit d08cbcbCopy full SHA for d08cbcb
conf.py
@@ -20,7 +20,8 @@
20
# The short X.Y version.
21
version = 'latest'
22
# The full version, including alpha/beta/rc tags.
23
-release = version
+# Can be overridden via DOCS_RELEASE env var (used for PDF builds to show the actual version number)
24
+release = os.environ.get('DOCS_RELEASE', version)
25
26
# RTD theme options
27
html_theme_options = {
0 commit comments