8000 DOC: use mpl-sphinx-theme · matplotlib/matplotlib@13d9eb1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13d9eb1

Browse files
committed
DOC: use mpl-sphinx-theme
1 parent 5742354 commit 13d9eb1

File tree

3 files changed

+3
-46
lines changed

3 files changed

+3
-46
lines changed

doc/_templates/mpl_nav_bar.html

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

doc/conf.py

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def _check_dependencies():
291291
f"mpl.css?{SHA}",
292292
]
293293

294-
html_theme = "pydata_sphinx_theme"
294+
html_theme = "mpl_sphinx_theme"
295295

296296
# The name for this set of Sphinx documents. If None, it defaults to
297297
# "<project> v<release> documentation".
@@ -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
@@ -14,7 +14,7 @@ ipywidgets
1414
numpydoc>=0.8
1515
packaging>=20
1616
pyparsing<3.0.0
17-
pydata-sphinx-theme>=0.6.0
17+
mpl-sphinx-theme
1818
sphinxcontrib-svg2pdfconverter>=1.1.0
1919
sphinx-gallery>=0.10
2020
sphinx-copybutton

0 commit comments

Comments
 (0)
0