Skip to content

Commit bafe9d4

Browse files
authored
Update link to docs.pytorch.org in conf.py (#3568)
1 parent 702e642 commit bafe9d4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

conf.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,12 @@ def wrapper(*args, **kwargs):
144144
]
145145

146146
intersphinx_mapping = {
147-
"torch": ("https://pytorch.org/docs/stable/", None),
148-
"tensordict": ("https://pytorch.github.io/tensordict/stable", None),
149-
"torchrl": ("https://pytorch.org/rl/stable", None),
150-
"torchaudio": ("https://pytorch.org/audio/stable/", None),
151-
"torchtext": ("https://pytorch.org/text/stable/", None),
152-
"torchvision": ("https://pytorch.org/vision/stable/", None),
147+
"torch": ("https://docs.pytorch.org/docs/stable/", None),
148+
"tensordict": ("https://docs.pytorch.github.io/tensordict/stable", None),
149+
"torchrl": ("https://docs.pytorch.org/rl/stable", None),
150+
"torchaudio": ("https://docs.pytorch.org/audio/stable/", None),
151+
"torchtext": ("https://docs.pytorch.org/text/stable/", None),
152+
"torchvision": ("https://docs.pytorch.org/vision/stable/", None),
153153
}
154154

155155
html_meta = {
@@ -179,7 +179,7 @@ def wrapper(*args, **kwargs):
179179
"show_signature": False,
180180
"first_notebook_cell": (
181181
"# For tips on running notebooks in Google Colab, see\n"
182-
"# https://pytorch.org/tutorials/beginner/colab\n"
182+
"# https://docs.pytorch.org/tutorials/beginner/colab\n"
183183
"%matplotlib inline"
184184
),
185185
"ignore_pattern": r"_torch_export_nightly_tutorial.py",
@@ -194,7 +194,7 @@ def wrapper(*args, **kwargs):
194194
}
195195

196196

197-
html_baseurl = "https://pytorch.org/tutorials/" # needed for sphinx-sitemap
197+
html_baseurl = "https://docs.pytorch.org/tutorials/" # needed for sphinx-sitemap
198198
sitemap_locales = [None]
199199
sitemap_excludes = [
200200
"search.html",

0 commit comments

Comments
 (0)