You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{# if the current item title does not start with _ #}
4
+
{% if not nav_item.title.startswith("_") %}
5
+
{# if the current item has children #}
6
+
{% if nav_item.children %}
3
7
<ulclass="subnav">
4
8
<li><span>{{ nav_item.title }}</span></li>
9
+
{# output children #}
5
10
{% for nav_item in nav_item.children %}
6
-
{% include 'toc.html' %}
11
+
{% include 'toc.html' %}
7
12
{% endfor %}
8
13
</ul>
9
-
{% endif %}
10
-
{% else %}
11
-
{% if not nav_item.title.startswith("_") %}
12
-
<liclass="toctree-l1 {% if nav_item.active%}current{%endif%}">
13
-
<aclass="{% if nav_item.active%}current{%endif%}" href="{{ nav_item.url }}">{{ nav_item.title }}</a>
14
+
{# if the current item does not have children #}
15
+
{% else %}
16
+
<liclass="toctree-l1
17
+
{# if current item is active #}
18
+
{% if nav_item.active %}current{% endif %}
19
+
{# if current page has ancestors and current item title prefixed with _ is identical to ancestor title (_ + Action <=> _Action) #}
20
+
{% if current_page and current_page.ancestors %}{% for doc in current_page.ancestors %}{% if "_"+nav_item.title == doc.titleandnav_item.title!= "Tools" %}current{%endif%}{%endfor%}{%endif%}
21
+
">
22
+
<aclass="
23
+
{% if nav_item.active %}current{% endif %}
24
+
{% if current_page and current_page.ancestors %}{% for doc in current_page.ancestors %}{% if "_"+nav_item.title == doc.titleandnav_item.title!= "Tools" %}current{%endif%}{%endfor%}{%endif%}
0 commit comments