@@ -292,7 +292,7 @@ def _check_dependencies():
292292 f"mpl.css?{ SHA } " ,
293293]
294294
295- html_theme = "pydata_sphinx_theme "
295+ html_theme = "mpl_sphinx_theme "
296296
297297# The name for this set of Sphinx documents. If None, it defaults to
298298# "<project> v<release> documentation".
@@ -302,34 +302,12 @@ def _check_dependencies():
302302# the sidebar.
303303html_logo = "_static/logo2.svg"
304304html_theme_options = {
305+ "native_site" : True ,
305306 "logo_link" : "index" ,
306307 # collapse_navigation in pydata-sphinx-theme is slow, so skipped for local
307308 # and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
308309 "collapse_navigation" : not is_release_build ,
309- "icon_links" : [
310- {
311- "name" : "gitter" ,
312- "url" : "https://gitter.im/matplotlib" ,
313- "icon" : "fab fa-gitter" ,
314- },
315- {
316- "name" : "discourse" ,
317- "url" : "https://discourse.matplotlib.org" ,
318- "icon" : "fab fa-discourse" ,
319- },
320- {
321- "name" : "GitHub" ,
322- "url" : "https://github.com/matplotlib/matplotlib" ,
323- "icon" : "fab fa-github-square" ,
324- },
325- {
326- "name" : "twitter" ,
327- "url" : "https://twitter.com/matplotlib/" ,
328- "icon" : "fab fa-twitter-square" ,
329- },
330- ],
331310 "show_prev_next" : False ,
332- "navbar_center" : ["mpl_nav_bar.html" ],
333311}
334312include_analytics = is_release_build
335313if include_analytics :
0 commit comments