We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 88e712a + a7be8da commit 032a26eCopy full SHA for 032a26e
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