Skip to content

Commit 209820a

Browse files
committed
Sort namespace toc
1 parent fb875dc commit 209820a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/php_api_ref/.phpdoc/template/components/table-of-contents.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
{%- include 'components/anchor.html.twig' with { anchor_link: link(node) ~ '#interfaces' } -%}
6363
</h2>
6464
<ul class="namespace-list">
65-
{% for entry in joined_data %}
65+
{% for entry in joined_data|sort((entry1, entry2) => entry1.name <=> entry2.name) %}
6666
<li>
6767
<span>
6868
<img src="./images/arrow-right.svg" class="arrow" />

0 commit comments

Comments
 (0)