From d78f5fc95d5ebf44df49e52d454ef53c2b5b01bc Mon Sep 17 00:00:00 2001 From: Sasha Romijn Date: Mon, 7 Oct 2024 13:22:24 +0200 Subject: [PATCH] Fix canonical URL? --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 72d51efc9..3dfbbddbf 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,7 +50,7 @@ def _load_data(self, env, data_source, encoding): # https://about.readthedocs.com/blog/2024/07/addons-by-default/ # Define the canonical URL if you are using a custom domain on Read the Docs -html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "www.writethedocs.org") +html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "https://www.writethedocs.org") # Tell Jinja2 templates the build is running on Read the Docs if os.environ.get("READTHEDOCS", "") == "True":