From: Debian Science Team Date: Sat, 21 Sep 2024 16:21:40 +0000 (+0100) Subject: Allow building with Debian's pydata-sphinx-theme X-Git-Tag: archive/raspbian/2.2.3+dfsg-7+rpi1~1^2^2^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=88891d3e818ce7c73ef38f7225895a4e78471ee1;p=pandas.git Allow building with Debian's pydata-sphinx-theme This is currently too old to have all the options upstream expects Gbp-Pq: Name sphinx_old_pydata_theme.patch --- diff --git a/doc/_templates/sidebar-nav-bs.html b/doc/_templates/sidebar-nav-bs.html index 8298b665..cccff847 100644 --- a/doc/_templates/sidebar-nav-bs.html +++ b/doc/_templates/sidebar-nav-bs.html @@ -1,9 +1,9 @@ diff --git a/doc/source/conf.py b/doc/source/conf.py index bb72d2dc..b817cc7b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -245,16 +245,7 @@ html_theme_options = { "footer_start": ["pandas_footer", "sphinx-version"], "github_url": "https://github.com/pandas-dev/pandas", "twitter_url": "https://twitter.com/pandas_dev", - "logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"}, - "navbar_align": "left", - "navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"], - "switcher": { - "json_url": "https://pandas.pydata.org/versions.json", - "version_match": switcher_version, - }, - # This shows a warning for patch releases since the - # patch version doesn't compare as equal (e.g. 2.2.1 != 2.2.0 but it should be) - "show_version_warning_banner": False, + "navbar_end": ["navbar-icon-links"], "icon_links": [ { "name": "Mastodon",