Skip to content

Commit 19893c5

Browse files
authored
Merge pull request #14250 from nextcloud/backport/14226/stable32
[stable32] [stable33] fix: use actual release version in PDF output instead of latest
2 parents 3de4d35 + f5b2805 commit 19893c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
# The short X.Y version.
2929
version = 'latest'
3030
# The full version, including alpha/beta/rc tags.
31-
release = version
31+
# 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)
3233

3334
# RTD theme options
3435
html_theme_options = {

0 commit comments

Comments
 (0)