Skip to content

Commit 26c7a46

Browse files
authored
Add canonical URL to configuration
1 parent b18f9c7 commit 26c7a46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def wrapper(*args, **kwargs):
236236
"navbar_center": "navbar-nav",
237237
"display_version": True,
238238
"pytorch_project": "tutorials",
239+
"canonical_url": "https://docs.pytorch.org/tutorials/",
239240
}
240241

241242
theme_variables = pytorch_sphinx_theme2.get_theme_variables()

0 commit comments

Comments
 (0)