Update pytorch.org links in docs/conf.py (#163682)

Update links in conf.py to docs.pytorch.org

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/163682
Approved by: https://github.com/sekyondaMeta, https://github.com/albanD
This commit is contained in:
Svetlana Karslioglu
2025-09-23 21:40:11 +00:00
committed by PyTorch MergeBot
parent b182365660
commit 8c8416b021

View File

@ -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,