Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/assets/audio/dont_panic.mp3
Binary file not shown.
24 changes: 24 additions & 0 deletions docs/overrides/partials/toc-item.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{#-
This file allows pages to set their own TOC depth
https://github.com/squidfunk/mkdocs-material/issues/4827#issuecomment-1869812019
-#}
<li class="md-nav__item">
<a href="{{ toc_item.url }}" class="md-nav__link">
<span class="md-ellipsis">
{{ toc_item.title }}
</span>
</a>

<!-- Table of contents list -->
{% if toc_item.children %}
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
<ul class="md-nav__list">
{% for toc_item in toc_item.children %}
{% if not page.meta.toc_depth or toc_item.level <= page.meta.toc_depth %}
{% include "partials/toc-item.html" %}
{% endif %}
{% endfor %}
</ul>
</nav>
{% endif %}
</li>
4 changes: 4 additions & 0 deletions docs/static/css/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,10 @@ video {
display: grid;
}

.contents {
display: contents;
}

.hidden {
display: none;
}
Expand Down
Loading