diff --git a/conf.py b/conf.py index cc0b0b157a..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.github.io/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), @@ -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()