diff --git a/docs/requirements.txt b/docs/requirements.txt index 6c57cad..6f49f35 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,5 +2,4 @@ jinja2 markdown pyyaml sphinx -mpl-sphinx-theme -pydata-sphinx-theme<0.9.0 +mpl-sphinx-theme~=3.6.0 diff --git a/docs/source/_static/badges/conda-empty.svg b/docs/source/_static/badges/conda-empty.svg deleted file mode 100644 index 7ff42c0..0000000 --- a/docs/source/_static/badges/conda-empty.svg +++ /dev/null @@ -1,101 +0,0 @@ - - diff --git a/docs/source/_static/badges/pip-empty.svg b/docs/source/_static/badges/pip-empty.svg deleted file mode 100644 index f9d0f98..0000000 --- a/docs/source/_static/badges/pip-empty.svg +++ /dev/null @@ -1,101 +0,0 @@ - - diff --git a/docs/source/conf.py b/docs/source/conf.py index 2a684e2..a2fa7ac 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -16,8 +16,13 @@ html_theme = "mpl_sphinx_theme" html_static_path = ["./_static"] html_theme_options = { - "logo_link": "https://matplotlib.org/stable", - "native_site": False, + "logo": { + "link": "https://matplotlib.org/stable", + "image_light": "images/logo2.svg", + "image_dark": "images/logo_dark.svg", + }, + "navbar_links": "internal", + "page_sidebar_items": "page-toc.html", } html_css_files = [ @@ -27,4 +32,3 @@ html_sidebars = { '**': ['localtoc.html'] } - diff --git a/python/template.rst b/python/template.rst index 1941e88..4b29cda 100644 --- a/python/template.rst +++ b/python/template.rst @@ -23,28 +23,20 @@ - {% if 'pypi' in package.badges %}