Skip to content

Commit 230ea90

Browse files
Debian Science Teamraspbian-autopush
authored andcommitted
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
1 parent aba3ec0 commit 230ea90

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

doc/_templates/sidebar-nav-bs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
22
<div class="bd-toc-item navbar-nav">
33
{% if pagename.startswith("reference") %}
4-
{{ generate_toctree_html("sidebar", maxdepth=4, collapse=True, includehidden=True, titles_only=True) }}
4+
{{ generate_nav_html("sidebar", maxdepth=4, collapse=True, includehidden=True, titles_only=True) }}
55
{% else %}
6-
{{ generate_toctree_html("sidebar", maxdepth=4, collapse=False, includehidden=True, titles_only=True) }}
6+
{{ generate_nav_html("sidebar", maxdepth=4, collapse=False, includehidden=True, titles_only=True) }}
77
{% endif %}
88
</div>
99
</nav>

doc/source/conf.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,7 @@
241241
"footer_start": ["pandas_footer", "sphinx-version"],
242242
"github_url": "https://github.com/pandas-dev/pandas",
243243
"twitter_url": "https://twitter.com/pandas_dev",
244-
"logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"},
245-
"navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"],
246-
"switcher": {
247-
"json_url": "https://pandas.pydata.org/versions.json",
248-
"version_match": switcher_version,
249-
},
244+
"navbar_end": ["navbar-icon-links"],
250245
"icon_links": [
251246
{
252247
"name": "Mastodon",

0 commit comments

Comments
 (0)