From 26c7a46f28f52765dd89d30e7a3739f30556d2b9 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 17 Sep 2025 10:18:54 -0700 Subject: [PATCH 1/3] Add canonical URL to configuration --- conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.py b/conf.py index cc0b0b157a..775c2bb767 100644 --- a/conf.py +++ b/conf.py @@ -236,6 +236,7 @@ def wrapper(*args, **kwargs): "navbar_center": "navbar-nav", "display_version": True, "pytorch_project": "tutorials", + "canonical_url": "https://docs.pytorch.org/tutorials/", } theme_variables = pytorch_sphinx_theme2.get_theme_variables() From 2285fb90d5b2e8396c8f857210745d1357f43896 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 17 Sep 2025 10:27:03 -0700 Subject: [PATCH 2/3] Fix linkcheck --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 775c2bb767..74ef8506ef 100644 --- a/conf.py +++ b/conf.py @@ -145,7 +145,7 @@ def wrapper(*args, **kwargs): intersphinx_mapping = { "torch": ("https://docs.pytorch.org/docs/stable/", None), - "tensordict": ("https://docs.pytorch.github.io/tensordict/stable", None), + "tensordict": ("https://docs.pytorch.docs/tensordict/stable", None), "torchrl": ("https://docs.pytorch.org/rl/stable", None), "torchaudio": ("https://docs.pytorch.org/audio/stable/", None), "torchtext": ("https://docs.pytorch.org/text/stable/", None), From f010bd8f81ea9a150edf666279ade4498e669d3f Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 17 Sep 2025 10:29:09 -0700 Subject: [PATCH 3/3] Update --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 74ef8506ef..0cb34fd02b 100644 --- a/conf.py +++ b/conf.py @@ -145,7 +145,7 @@ def wrapper(*args, **kwargs): intersphinx_mapping = { "torch": ("https://docs.pytorch.org/docs/stable/", None), - "tensordict": ("https://docs.pytorch.docs/tensordict/stable", None), + "tensordict": ("https://docs.pytorch.org/tensordict/stable", None), "torchrl": ("https://docs.pytorch.org/rl/stable", None), "torchaudio": ("https://docs.pytorch.org/audio/stable/", None), "torchtext": ("https://docs.pytorch.org/text/stable/", None),