From a7be8daf98b82ffa4d2ea03a8e364644213e3141 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 2ef9dced045..30bdd6cde9f 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 = {