Skip to content

Commit 685268b

Browse files
authored
Merge pull request #10 from QuLogic/update-theme
Update to 3.6 Sphinx theme
2 parents 57b3a67 + ea885dc commit 685268b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/source/conf.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,12 @@
124124
html_theme = "mpl_sphinx_theme"
125125

126126
html_theme_options = {
127-
"native_site": False,
128-
"logo_link": "index",
127+
"navbar_links": "server-stable",
128+
"logo": {
129+
"link": "index",
130+
"image_light": "images/logo2.svg",
131+
"image_dark": "images/logo_dark.svg",
132+
},
129133
# collapse_navigation in pydata-sphinx-theme is slow, so skipped for local
130134
# and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
131135
"collapse_navigation": not is_release_build,
@@ -156,7 +160,6 @@
156160
html_sidebars = {
157161
"**": [
158162
"relations.html", # needs 'show_related': True theme option to display
159-
"searchbox.html",
160163
]
161164
}
162165

requirements-doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ipython
33
jinja2>3
44
matplotlib
5-
mpl-sphinx-theme
5+
mpl-sphinx-theme~=3.6.0
66
numpydoc
77
sphinx
88
sphinx-copybutton

0 commit comments

Comments
 (0)