File: htmljsmenuletterdata.tpl

package info (click to toggle)
doxygen 1.9.4-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,864 kB
  • sloc: cpp: 214,147; lex: 40,502; python: 31,110; ansic: 17,177; xml: 11,891; javascript: 2,630; yacc: 580; php: 441; perl: 377; makefile: 185; sh: 26; objc: 14; cs: 5; f90: 4; java: 1
file content (21 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{# inputs: page, list, section, text #}
{text:"{{ text }}",url:"{{ page.fileName }}{{ section }}{{ config.HTML_FILE_EXTENSION }}"
{% if list|length>maxItemsForFlatList %}
,children:[
  {% with index=list|alphaIndex:'name' %}
    {% for sect in index %}
      {% spaceless %}
      {text:"{{ sect.letter }}",url:"
      {% if list|length<=maxItemsForMultiPageList %}
      {{ page.fileName }}{{ section }}{{ config.HTML_FILE_EXTENSION }}#index_{{ sect.label }}"
      {% else %}
      {{ page.fileName }}{{ section }}_{{ sect.label }}{{ config.HTML_FILE_EXTENSION }}"
      {% endif %}
      }
      {% endspaceless %}
      {% if not forloop.last %},{% endif %}
    {% endfor %}
  {% endwith %}
]
{% endif %}
}