From: Debian Science Team Date: Wed, 11 Jan 2023 07:34:28 +0000 (+0000) Subject: Allow building with Debian's pydata-sphinx-theme X-Git-Tag: archive/raspbian/1.5.3+dfsg-2+rpi1~1^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=704666ee7c960abde2bb825faa1243254dc4b6b7;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 53e5ad10..b891e0be 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -244,12 +244,7 @@ html_theme_options = { "footer_items": ["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_end": ["version-switcher", "theme-switcher", "navbar-icon-links"], - "switcher": { - "json_url": "/versions.json", - "version_match": switcher_version, - }, + "navbar_end": ["navbar-icon-links"], } # Add any paths that contain custom themes here, relative to this directory.