From 46794b1cb14707576445414c9109e71b8d57f552 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 1 Apr 2026 19:14:06 +0000 Subject: [PATCH] fix: use actual release version in PDF output instead of latest Agent-Logs-Url: https://github.com/skjnldsv/documentation/sessions/e2f6fe71-2793-4c59-80fb-073d6f45204e Co-authored-by: skjnldsv <14975046+skjnldsv@users.noreply.github.com> --- conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.py b/conf.py index baf7db43d65..ad22ef5ca4f 100644 --- a/conf.py +++ b/conf.py @@ -20,7 +20,8 @@ # The short X.Y version. version = 'latest' # The full version, including alpha/beta/rc tags. -release = version +# Can be overridden via DOCS_RELEASE env var (used for PDF builds to show the actual version number) +release = os.environ.get('DOCS_RELEASE', version) # RTD theme options html_theme_options = {