Skip to content

Commit 185d345

Browse files
authored
Merge pull request #32 from QuLogic/update-theme
Update to 3.6 Sphinx theme
2 parents a252b01 + a1bc325 commit 185d345

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

conf.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,20 @@
7272

7373

7474
html_sidebars = {
75-
"index": ["search-field.html"],
76-
"**": ["search-field.html", "globaltoc.html"],
75+
"index": [],
76+
"**": ["globaltoc.html"],
7777
}
7878

7979
is_release_build = tags.has("release") # noqa
8080

8181

8282
html_theme_options = {
83-
"native_site": True,
84-
"logo_link": "index",
83+
"navbar_links": "server-stable",
84+
"logo": {
85+
"link": "index",
86+
"image_light": "images/logo2.svg",
87+
"image_dark": "images/logo_dark.svg",
88+
},
8589
"collapse_navigation": not is_release_build,
8690
"show_prev_next": False,
8791
# Toc options

requirements-doc.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# List required packages in this file, one per line.
2-
mpl-sphinx-theme
2+
mpl-sphinx-theme~=3.6.0
33
myst-parser
4-
sphinx<5 # pinned because current pydata-sphinx-theme is incompatible
5-
pydata-sphinx-theme<0.9 # temporary workaround to make the docs build

0 commit comments

Comments
 (0)