We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e09895 commit 72e4da5Copy full SHA for 72e4da5
src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/sidebar-secondary.html
@@ -1,5 +1,7 @@
1
-{% for toc_item in theme_page_sidebar_items %}
2
-<div class="toc-item">
3
- {% include toc_item %}
4
-</div>
5
-{% endfor %}
+{% if meta is defined and not (meta is not none and 'notoc' in meta) %}
+ {% for toc_item in theme_page_sidebar_items %}
+ <div class="toc-item">
+ {% include toc_item %}
+ </div>
6
+ {% endfor %}
7
+{% endif %}
0 commit comments