-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNamespaces.md.twig
52 lines (41 loc) · 1.54 KB
/
Namespaces.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
## {{ node.name }}
{% if node.description %}{{ node.description|raw }}{% endif %}
{% if node.children|length > 0 %}
### Namespaces
{% for namespace in node.children|sort_asc %}
#### [{{ namespace.name }}](ns-{{ namespace.name|replace({'\\':""}) }})
{% endfor %}{% endif %}
{% if node.traits|length > 0 %}
### Traits
{% for trait in node.traits|sort_asc %}
#### [{{ trait.name }}](trait-{{ trait.name }})
{% if trait.summary %}*{{ trait.summary }}*
{% endif %}{% endfor %}{% endif %}
{% if node.interfaces|length > 0 %}
### Interfaces
{% for interface in node.interfaces|sort_asc %}
#### [{{ interface.name }}](interface-{{ interface.name }})
{% if interface.summary %}*{{ interface.summary }}*
{% endif %}{% endfor %}{% endif %}
{% if node.classes|length > 0 %}
### Classes
{% for class in node.classes|sort_asc %}
#### [{{ class.name }}](class-{{ class.name }})
{% if class.summary %}*{{ class.summary }}*
{% endif %}{% endfor %}{% endif %}
{% if node.constants|length > 0 %}
### Constants
{% for constant in node.constants|sort_asc %}
* {{ constant.name }}{% if constant.summary %}: {{ constant.summary }}{% endif %}
{% endfor %}{% endif %}
{% if node.functions|length > 0 %}
### Functions
{% for key, method in node.functions|sort_asc %}
* [{{ method.name }}](file-{{ method.path|split('/')|last }})
{% endfor %}{% endif %}
{% if project.settings.shouldIncludeSource %}
## Source
[{{ node.name }}]({{ node.path }}{{ node.name }})
{% endif %}
***
[\\](Home) » [Namespaces](Namespaces) » [{{ node.parent.name }}](ns-{{ node.parent.name }})