diff --git a/doc/conf.py b/doc/conf.py index 5aa58a3aca5a..505963703ab4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -383,7 +383,7 @@ def js_tag_with_cache_busting(js): "image_light": "images/logo2.svg", "image_dark": "images/logo_dark.svg"}, "navbar_end": ["theme-switcher", "version-switcher", "mpl_icon_links"], - "page_sidebar_items": "page-toc.html", + "secondary_sidebar_items": "page-toc.html", } include_analytics = is_release_build if include_analytics: diff --git a/requirements/doc/doc-requirements.txt b/requirements/doc/doc-requirements.txt index ad0e44d16fa4..e05ed2e75e9d 100644 --- a/requirements/doc/doc-requirements.txt +++ b/requirements/doc/doc-requirements.txt @@ -13,7 +13,7 @@ ipython ipywidgets numpydoc>=1.0 packaging>=20 -pydata-sphinx-theme>=0.9.0 +pydata-sphinx-theme>=0.12.0 mpl-sphinx-theme~=3.6.0 sphinxcontrib-svg2pdfconverter>=1.1.0 sphinx-gallery>=0.10