Skip to content

Commit b97e7ba

Browse files
authored
Merge pull request #758 from PrefectHQ/tutorial
Tutorial update
2 parents 4c1fddb + 0bec234 commit b97e7ba

7 files changed

Lines changed: 244 additions & 751 deletions

File tree

docs/assets/audio/dont_panic.mp3

41.3 KB
Binary file not shown.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{#-
2+
This file allows pages to set their own TOC depth
3+
https://github.com/squidfunk/mkdocs-material/issues/4827#issuecomment-1869812019
4+
-#}
5+
<li class="md-nav__item">
6+
<a href="{{ toc_item.url }}" class="md-nav__link">
7+
<span class="md-ellipsis">
8+
{{ toc_item.title }}
9+
</span>
10+
</a>
11+
12+
<!-- Table of contents list -->
13+
{% if toc_item.children %}
14+
<nav class="md-nav" aria-label="{{ toc_item.title | striptags }}">
15+
<ul class="md-nav__list">
16+
{% for toc_item in toc_item.children %}
17+
{% if not page.meta.toc_depth or toc_item.level <= page.meta.toc_depth %}
18+
{% include "partials/toc-item.html" %}
19+
{% endif %}
20+
{% endfor %}
21+
</ul>
22+
</nav>
23+
{% endif %}
24+
</li>

docs/static/css/tailwind.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,10 @@ video {
605605
display: grid;
606606
}
607607

608+
.contents {
609+
display: contents;
610+
}
611+
608612
.hidden {
609613
display: none;
610614
}

0 commit comments

Comments
 (0)