Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f8b549d

Browse files
committed
DOC: use mpl-sphinx-theme
1 parent 5f0e6df commit f8b549d

File tree

3 files changed

+2
-45
lines changed

3 files changed

+2
-45
lines changed

doc/_templates/mpl_nav_bar.html

Lines changed: 0 additions & 21 deletions
This file was deleted.

doc/conf.py

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -301,34 +301,12 @@ def _check_dependencies():
301301
# the sidebar.
302302
html_logo = "_static/logo2.svg"
303303
html_theme_options = {
304+
"native_site": True,
304305
"logo_link": "index",
305306
# collapse_navigation in pydata-sphinx-theme is slow, so skipped for local
306307
# and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
307308
"collapse_navigation": not is_release_build,
308-
"icon_links": [
309-
{
310-
"name": "gitter",
311-
"url": "https://gitter.im/matplotlib",
312-
"icon": "fab fa-gitter",
313-
},
314-
{
315-
"name": "discourse",
316-
"url": "https://discourse.matplotlib.org",
317-
"icon": "fab fa-discourse",
318-
},
319-
{
320-
"name": "GitHub",
321-
"url": "https://github.com/matplotlib/matplotlib",
322-
"icon": "fab fa-github-square",
323-
},
324-
{
325-
"name": "twitter",
326-
"url": "https://twitter.com/matplotlib/",
327-
"icon": "fab fa-twitter-square",
328-
},
329-
],
330309
"show_prev_next": False,
331-
"navbar_center": ["mpl_nav_bar.html"],
332310
}
333311
include_analytics = is_release_build
334312
if include_analytics:

requirements/doc/doc-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ipython
1313
ipywidgets
1414
numpydoc>=0.8
1515
packaging>=20
16-
pydata-sphinx-theme>=0.6.0
16+
mpl-sphinx-theme
1717
sphinxcontrib-svg2pdfconverter>=1.1.0
1818
sphinx-gallery>=0.10
1919
sphinx-copybutton

0 commit comments

Comments
 (0)