Skip to content

Commit 9591a67

Browse files
svekarsCopilot
andauthored
Upgrade theme to 0.4.4 and add runLLM (pytorch#17495)
### Summary - Upgrade the theme to 0.4.4 - Add the RunLLM widget ### Test plan - Visual inspection of https://docs-preview.pytorch.org/pytorch/executorch/17495/index.html - Veirfy RunLLM widget answer accuracy --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2150b0d commit 9591a67

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.ci/docker/requirements-ci.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ sphinx-reredirects==0.1.4
3030
matplotlib>=3.9.4
3131
sphinx-copybutton==0.5.2
3232
# PyTorch Theme
33-
pytorch_sphinx_theme2==0.2.0
33+
pytorch_sphinx_theme2==0.4.4
3434
# script unit test requirements
3535
yaspin==3.1.0

‎docs/source/conf.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@
111111
print(f"executorch_version: {executorch_version}")
112112
print(f"Version: {version}, RELEASE: {RELEASE}")
113113

114-
html_baseurl = "https://docs.pytorch.org/executorch/" # needed for sphinx-sitemap
114+
html_baseurl = (
115+
"https://docs.pytorch.org/executorch/stable/" # needed for sphinx-sitemap
116+
)
115117
sitemap_locales = [None]
116118
sitemap_excludes = [
117119
"search.html",
@@ -233,6 +235,7 @@
233235
"navbar_start": ["navbar-logo", "version-switcher"],
234236
"navbar_center": ["navbar-nav"],
235237
"navbar_end": ["search-field-custom", "theme-switcher", "navbar-icon-links"],
238+
"runllm_assistant_id": "1632",
236239
"navbar_persistent": [],
237240
}
238241

0 commit comments

Comments
 (0)