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":