From 4f797dc07d49202144875e42ede3ca9a90e93741 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Tue, 31 Jan 2023 13:21:16 +0000 Subject: [PATCH] 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 --- doc/_templates/sidebar-nav-bs.html | 4 ++-- doc/source/conf.py | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) 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. -- 2.30.2