diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 851a2615ce..ba3a8c42b6 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -16,7 +16,7 @@ pandocfilters==1.5.1 markdown==3.8.2 # PyTorch Theme -pytorch_sphinx_theme2==0.3.0 +pytorch_sphinx_theme2==0.4.4 # Tutorial dependencies tqdm==4.66.1 diff --git a/.lycheeignore b/.lycheeignore index fc1e3f1fa8..a51fc43f93 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -8,7 +8,7 @@ file:///f:/libtmp/some_file file:\/\/\/.* # Ignore colab link in the setting of conf.py -https://pytorch.org/tutorials/beginner/colab/n +https://docs.pytorch.org/tutorials/beginner/colab* # Ignore local host link from intermediate_source/tensorboard_tutorial.rst http://localhost:6006 diff --git a/conf.py b/conf.py index 67227c0784..9bfebed72b 100644 --- a/conf.py +++ b/conf.py @@ -159,7 +159,6 @@ def wrapper(*args, **kwargs): } - # -- Sphinx-gallery configuration -------------------------------------------- sphinx_gallery_conf = { @@ -232,10 +231,11 @@ def wrapper(*args, **kwargs): ], "use_edit_page_button": True, "header_links_before_dropdown": 9, - "navbar_start": ["pytorch_version"], + "navbar_start": ["navbar-logo", "pytorch_version"], "navbar_center": "navbar-nav", "display_version": True, "pytorch_project": "tutorials", + "llm_disabled": False, "canonical_url": "https://docs.pytorch.org/tutorials/", } @@ -251,7 +251,7 @@ def wrapper(*args, **kwargs): "github_version": "main", "doc_path": ".", "library_links": theme_variables.get("library_links", []), - #"pytorch_project": "tutorials", + # "pytorch_project": "tutorials", }