From b564b066c53a6d087102183dc57f71d1a1c59f98 Mon Sep 17 00:00:00 2001 From: Max Stahlschmidt <77545448+matosys@users.noreply.github.com> Date: Tue, 19 May 2026 12:49:11 +0200 Subject: [PATCH] docs(conf.py): use env for html_baseurl --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index c8753db..0383179 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -55,7 +55,7 @@ exclude_patterns = [] # Set canonical URL from the Read the Docs Domain -html_baseurl = "https://docs.balder.dev/en/stable/" +html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/") # Tell Jinja2 templates the build is running on Read the Docs if os.environ.get("READTHEDOCS", "") == "True":