Skip to content

Commit a18358d

Browse files
authored
Upgrade theme to 0.4.4 (#3766)
cc @sekyondaMeta @AlannaBurke
1 parent 24942ac commit a18358d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.ci/docker/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pandocfilters==1.5.1
1616
markdown==3.8.2
1717

1818
# PyTorch Theme
19-
pytorch_sphinx_theme2==0.3.0
19+
pytorch_sphinx_theme2==0.4.4
2020

2121
# Tutorial dependencies
2222
tqdm==4.66.1

.lycheeignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ file:///f:/libtmp/some_file
88
file:\/\/\/.*
99

1010
# Ignore colab link in the setting of conf.py
11-
https://pytorch.org/tutorials/beginner/colab/n
11+
https://docs.pytorch.org/tutorials/beginner/colab*
1212

1313
# Ignore local host link from intermediate_source/tensorboard_tutorial.rst
1414
http://localhost:6006

conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def wrapper(*args, **kwargs):
159159
}
160160

161161

162-
163162
# -- Sphinx-gallery configuration --------------------------------------------
164163

165164
sphinx_gallery_conf = {
@@ -232,10 +231,11 @@ def wrapper(*args, **kwargs):
232231
],
233232
"use_edit_page_button": True,
234233
"header_links_before_dropdown": 9,
235-
"navbar_start": ["pytorch_version"],
234+
"navbar_start": ["navbar-logo", "pytorch_version"],
236235
"navbar_center": "navbar-nav",
237236
"display_version": True,
238237
"pytorch_project": "tutorials",
238+
"llm_disabled": False,
239239
"canonical_url": "https://docs.pytorch.org/tutorials/",
240240
}
241241

@@ -251,7 +251,7 @@ def wrapper(*args, **kwargs):
251251
"github_version": "main",
252252
"doc_path": ".",
253253
"library_links": theme_variables.get("library_links", []),
254-
#"pytorch_project": "tutorials",
254+
# "pytorch_project": "tutorials",
255255
}
256256

257257

0 commit comments

Comments
 (0)