We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3de4d35 + f5b2805 commit 19893c5Copy full SHA for 19893c5
1 file changed
conf.py
@@ -28,7 +28,8 @@
28
# The short X.Y version.
29
version = 'latest'
30
# The full version, including alpha/beta/rc tags.
31
-release = version
+# Can be overridden via DOCS_RELEASE env var (used for PDF builds to show the actual version number)
32
+release = os.environ.get('DOCS_RELEASE', version)
33
34
# RTD theme options
35
html_theme_options = {
0 commit comments