From 3427f2e4b3f97016044a62ee2029f33684f29c27 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Thu, 17 Nov 2022 13:50:46 -0600 Subject: [PATCH] Backport PR#24488 (Update for pydata-sphinx-theme 0.12.0) `pydata-sphinx-theme` updated, renaming some configuration names. (only one of which we actually configure) While they are just warnings for now, we are configured to error on warning so CircleCI is indicating failure. This does the 'easy' route of just changing to the new name and expecting the version in which it is implemented. If desired, I could do a larger change to accomodate both by checking the version, but I'm also not _too_ worried about more tightly pinning already relatively tight requirements. --- doc/conf.py | 2 +- requirements/doc/doc-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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