Skip to content

Commit 940d689

Browse files
committed
update blog6
1 parent fea88fa commit 940d689

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
with:
3030
branch: gh-pages
3131
folder: docs/build/html
32-
target-folder: blog1
32+
target-folder: blog6

docs/source/conf.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@
8484
# html_theme = 'classic'
8585
# html_theme_path = [pytorch_sphinx_theme2.get_html_theme_path()]
8686
html_static_path = ['_static']
87-
html_baseurl = "https://wt1w.github.io/test_sphinx/blog1/"
88-
# version = "2.1"
89-
# html_theme_options = {
90-
# "navbar_start": ["navbar-logo"],
91-
# "navbar_end": ["version-switcher"],
92-
# "switcher": {
93-
# "json_url": "https://raw.githubusercontent.com/WT1W/test_sphinx/refs/heads/main/work.json",
94-
# "version_match": version,
95-
# },
96-
# }
87+
html_baseurl = "https://wt1w.github.io/test_sphinx/blog6/"
88+
version = "2.0"
89+
html_theme_options = {
90+
"navbar_start": ["navbar-logo"],
91+
"navbar_end": ["version-switcher"],
92+
"switcher": {
93+
"json_url": "https://wt1w.github.io/test_sphinx/versions.json",
94+
"version_match": version,
95+
},
96+
}
9797

0 commit comments

Comments
 (0)