diff --git a/docs/source/conf.py b/docs/source/conf.py index c7731095153e..65e9932d61cd 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -133,7 +133,7 @@ html_static_path = ["_static"] html_theme_options = { "logo": {"text": "Home"}, "analytics_id": "GTM-T8XT4PS", - "canonical_url": "https://pytorch.org/docs/stable/", + "canonical_url": "https://docs.pytorch.org/docs/stable/", "switcher": { "json_url": "https://docs.pytorch.org/docs/pytorch-versions.json", "version_match": switcher_version, @@ -143,7 +143,7 @@ html_theme_options = { "external_links": [ { "name": "Tutorials", - "url": "https://pytorch.org/tutorials/", + "url": "https://docs.pytorch.org/tutorials/", }, ], "show_version_warning_banner": True,