Skip to content

Commit d08cbcb

Browse files
authored
Merge pull request #14240 from nextcloud/backport/14226/stable22
2 parents 4152398 + 644bbe1 commit d08cbcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
# The short X.Y version.
2121
version = 'latest'
2222
# The full version, including alpha/beta/rc tags.
23-
release = version
23+
# 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)
2425

2526
# RTD theme options
2627
html_theme_options = {

0 commit comments

Comments
 (0)