-
Notifications
You must be signed in to change notification settings - Fork 1
/
_Sidebar.md.twig
34 lines (26 loc) · 903 Bytes
/
_Sidebar.md.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
### [API documentation](Home)
{% if project.namespace.children|length > 0 %}
{% for namespace in project.namespace.children|sort_asc %}
[{{ namespace.name }}](ns-{{ namespace.name }})
{% endfor %}
{% endif %}
---
### Graphs
[Class Hierarchy Diagram]({{ path('Graphs') }})
---
### Reports
{% set errorCount = 0 %}
{% for file in project.files %}
{% set errorCount = errorCount + file.allerrors.count %}
{% endfor %}
[Errors ({{ errorCount }})]({{ path('Errors') }})
{% set deprecatedCount = 0 %}
{% for element in project.indexes.elements if element.deprecated %}
{% set deprecatedCount = deprecatedCount + element.tags.deprecated.count %}
{% endfor %}
[Deprecated ({{ deprecatedCount }})]({{ path('Deprecated') }})
{% set markerCount = 0 %}
{% for file in project.files %}
{% set markerCount = markerCount + file.markers.count %}
{% endfor %}
[Markers ({{ markerCount }})]({{ path('Markers') }})