Skip to content

Commit d046061

Browse files
authored
Merge pull request #14248 from nextcloud/backport/14226/stable30
2 parents d9c346a + 99f170e commit d046061

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
@@ -22,7 +22,8 @@
2222
# The short X.Y version.
2323
version = 'latest'
2424
# The full version, including alpha/beta/rc tags.
25-
release = version
25+
# Can be overridden via DOCS_RELEASE env var (used for PDF builds to show the actual version number)
26+
release = os.environ.get('DOCS_RELEASE', version)
2627

2728
# RTD theme options
2829
html_theme_options = {

0 commit comments

Comments
 (0)