From 68ba32df95c6dad0e5e710c611cd0c29ff424883 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Fri, 11 Oct 2024 10:18:43 +0100 Subject: [PATCH] Don't use pydata-sphinx-theme, as it is currently broken Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/1084781 Forwarded: not-needed Gbp-Pq: Name no_pydata_theme.patch --- doc/source/conf.py | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 440bd490..f366a1d1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -221,7 +221,7 @@ pygments_style = "sphinx" # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = "pydata_sphinx_theme" + # The style sheet to use for HTML and HTML Help pages. A file of that name # must exist either in Sphinx' static/ path, or in one of the custom paths @@ -240,29 +240,6 @@ else: # only keep major.minor version number to match versions.json switcher_version = ".".join(version.split(".")[:2]) -html_theme_options = { - "external_links": [], - "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, - "icon_links": [ - { - "name": "Mastodon", - "url": "https://fosstodon.org/@pandas_dev", - "icon": "fa-brands fa-mastodon", - }, - ], -} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = ["themes"] -- 2.30.2