Skip to content

Commit

Permalink
Fix canonical URL?
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Oct 7, 2024
1 parent 60d4058 commit d78f5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit d78f5fc

Please sign in to comment.