From 9adaa12e484e69e55ccb385d5dbab7baa76da543 Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Thu, 17 Nov 2022 13:50:46 -0600 Subject: [PATCH] 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 4b9dfdaddb1f..252b871d67c8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -403,7 +403,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 ef8cd4e4866d..d95ceb4e5f84 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.11.0 +pydata-sphinx-theme>=0.12.0 mpl-sphinx-theme sphinxcontrib-svg2pdfconverter>=1.1.0 sphinx-gallery>=0.10