File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change
1
+ {% import "partials/nav-item.html" as item with context %}
2
+
1
3
<!-- Determine class according to configuration -->
2
4
{% set class = "md-nav md-nav--primary" %}
3
5
{% if "navigation.tabs" in features %}
35
37
</ div >
36
38
{% endif %}
37
39
38
- <!-- Render item list -->
40
+ <!-- Navigation list -->
39
41
< ul class ="md-nav__list " data-md-scrollfix >
40
42
{% for nav_item in nav %}
41
43
{% set path = "__nav_" ~ loop.index %}
42
- {% set level = 1 %}
43
- {% include "partials/nav-item.html" %}
44
+ {{ item.render(nav_item, path, 1) }}
44
45
{% endfor %}
45
46
</ ul >
46
47
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ trio==0.24.0
15
15
16
16
# Documentation
17
17
mkdocs == 1.5.3
18
- mkdocs-material == 9.1.17
18
+ mkdocs-material == 9.5.5
19
19
mkautodoc == 0.2.0
20
20
21
21
# Packaging
You can’t perform that action at this time.
0 commit comments