From 71b66669df0e2bf527a7c3af35ed5edbf489afd6 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 11 Feb 2026 12:40:29 -0800 Subject: [PATCH 1/5] Test theme --- .ci/docker/requirements.txt | 2 +- conf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 851a2615ce..b5fdb81d62 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.1 # Tutorial dependencies tqdm==4.66.1 diff --git a/conf.py b/conf.py index 67227c0784..f127a573c2 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", + "llm_disabled": False, "canonical_url": "https://docs.pytorch.org/tutorials/", } From e8a0c2c655e23b90bd1b82cc9afad6d03a214bd2 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Wed, 11 Feb 2026 13:24:07 -0800 Subject: [PATCH 2/5] Update --- .lycheeignore | 2 +- conf.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 f127a573c2..a24e0396fb 100644 --- a/conf.py +++ b/conf.py @@ -159,7 +159,6 @@ def wrapper(*args, **kwargs): } - # -- Sphinx-gallery configuration -------------------------------------------- sphinx_gallery_conf = { @@ -252,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", } From 8c2c3736a03e0bfc6a1c9ea2bef98e833ef15152 Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Thu, 12 Feb 2026 09:11:17 -0800 Subject: [PATCH 3/5] Update requirements.txt --- .ci/docker/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index b5fdb81d62..4289a2386f 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.4.1 +pytorch_sphinx_theme2==0.4.2 # Tutorial dependencies tqdm==4.66.1 From 3079943af3466805f65afc47b425d6a454fa43da Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Thu, 12 Feb 2026 10:42:56 -0800 Subject: [PATCH 4/5] Update navbar_start to include navbar-logo --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index a24e0396fb..9bfebed72b 100644 --- a/conf.py +++ b/conf.py @@ -231,7 +231,7 @@ 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", From cc813d5ae780ea88ddf3e1bcd3ab423bfb4328ef Mon Sep 17 00:00:00 2001 From: Svetlana Karslioglu Date: Thu, 12 Feb 2026 16:17:08 -0800 Subject: [PATCH 5/5] Change PyTorch Sphinx theme to GitHub source Updated the PyTorch Sphinx theme dependency to a GitHub source. --- .ci/docker/requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/docker/requirements.txt b/.ci/docker/requirements.txt index 4289a2386f..901c4b79b9 100644 --- a/.ci/docker/requirements.txt +++ b/.ci/docker/requirements.txt @@ -16,7 +16,9 @@ pandocfilters==1.5.1 markdown==3.8.2 # PyTorch Theme -pytorch_sphinx_theme2==0.4.2 +# pytorch_sphinx_theme2==0.4.2 + +git+https://github.com/pytorch/pytorch_sphinx_theme.git@theme-0.4.3 # Tutorial dependencies tqdm==4.66.1