Skip to content

Commit ea1861c

Browse files
AllanChainbsipocz
andauthored
MAINT: update pydata theme version to 0.17.0 (#952)
Closes #949 Co-authored-by: Brigitta Sipőcz <bsipocz@gmail.com>
1 parent 0475346 commit ea1861c

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
"path_to_docs": "docs",
111111
"repository_url": "https://github.com/executablebooks/sphinx-book-theme",
112112
"repository_branch": "main",
113+
"search_as_you_type": True,
113114
"launch_buttons": {
114115
"binderhub_url": "https://mybinder.org",
115116
"colab_url": "https://colab.research.google.com/",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ readme = "README.md"
4040
requires-python = ">=3.11"
4141
dependencies = [
4242
"sphinx>=7.0",
43-
"pydata-sphinx-theme==0.16.1"
43+
"pydata-sphinx-theme==0.17.0"
4444
]
4545

4646
license = { file = "LICENSE" }

tests/test_build/build__pagetoc--page-multipletitles.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
Contents
88
</div>
99
<nav aria-labelledby="pst-page-navigation-heading-2" class="page-toc" id="pst-page-toc-nav">
10-
<ul class="visible nav section-nav flex-column">
10+
<ul class="pst-show_toc_level nav section-nav flex-column">
1111
<li class="toc-h1 nav-item toc-entry">
1212
<a class="reference internal nav-link" href="#">
1313
4.1. A page with multiple top-level titles
1414
</a>
15-
<ul class="visible nav section-nav flex-column">
15+
<ul class="pst-show_toc_level nav section-nav flex-column">
1616
<li class="toc-h2 nav-item toc-entry">
1717
<a class="reference internal nav-link" href="#a-sub-heading">
1818
4.1.1. A sub-heading
@@ -24,7 +24,7 @@
2424
<a class="reference internal nav-link" href="#another-top-level-title">
2525
4.2. Another top-level title
2626
</a>
27-
<ul class="visible nav section-nav flex-column">
27+
<ul class="pst-show_toc_level nav section-nav flex-column">
2828
<li class="toc-h2 nav-item toc-entry">
2929
<a class="reference internal nav-link" href="#another-sub-heading">
3030
4.2.1. Another sub-heading

tests/test_build/build__pagetoc--page-onetitle.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Contents
88
</div>
99
<nav aria-labelledby="pst-page-navigation-heading-2" class="page-toc" id="pst-page-toc-nav">
10-
<ul class="visible nav section-nav flex-column">
10+
<ul class="pst-show_toc_level nav section-nav flex-column">
1111
<li class="toc-h2 nav-item toc-entry">
1212
<a class="reference internal nav-link" href="#heres-a-sub-heading">
1313
4.3.1. Here’s a sub-heading

0 commit comments

Comments
 (0)