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 a5e07fe commit e4d88b6Copy full SHA for e4d88b6
tools/php_api_ref/.phpdoc/template/components/menu.html.twig
@@ -3,7 +3,7 @@
3
{% for child in entry.children %}
4
{% include 'components/menu-entry.html.twig' with {
5
title: entry.name|shortFQSEN ~ ' ' ~ child.name|shortFQSEN,
6
- nav_id: loop.index,
+ nav_id: nav_id ~ '-' ~ loop.index,
7
expanded: true,
8
entry: child,
9
} %}
tools/php_api_ref/.phpdoc/template/components/sidebar.html.twig
@@ -11,7 +11,7 @@
11
<ul class="md-nav__list">
12
<li></li>
13
{% for namespace in project.namespace.children %}
14
- {% include 'components/menu.html.twig' with { entry: namespace, depth: 0 } %}
+ {% include 'components/menu.html.twig' with { entry: namespace, depth: 0, nav_id: loop.index } %}
15
{% set break = true %}
16
{% endfor %}
17
</ul>
0 commit comments