@@ -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.
302302html_logo = "_static/logo2.svg"
303303html_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}
333311include_analytics = is_release_build
334312if include_analytics :
0 commit comments