Skip to content

Commit 7fae316

Browse files
authored
Merge pull request #14226 from nextcloud/backport/14177/stable33
2 parents 523b8ce + 63c3285 commit 7fae316

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)