We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 523b8ce + 63c3285 commit 7fae316Copy full SHA for 7fae316
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