mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- generate phpdoc to a dokuwiki compatible format - add/update the phpdoc of a selection of class methods
32 lines
1.1 KiB
Twig
32 lines
1.1 KiB
Twig
{% block constant %}
|
|
|
|
<WRAP group box >
|
|
<WRAP twothirds column >
|
|
==== {{ constant.name }} ====
|
|
</WRAP>{# twothirds column#}
|
|
|
|
<WRAP third column>
|
|
{% if constant.deprecated %}<wrap danger>deprecated</wrap> {% endif %}
|
|
{% if (node.parent is not null and constant.parent.fullyQualifiedStructuralElementName != node.fullyQualifiedStructuralElementName) %}<wrap notice>inherited</wrap> {% endif %}
|
|
</WRAP>{# third column#}
|
|
|
|
== {{ constant.summary|replace({"\n":""})|raw }} ==
|
|
<html>{{ constant.description|markdown|raw }}</html>
|
|
|
|
{% if constant.deprecated %}
|
|
=== Deprecated ===
|
|
{{ constant.tags.deprecated[0].description|raw }}
|
|
{% endif %}
|
|
|
|
{% include 'includes/inherited-from.txt.twig' with {structure:constant} %}
|
|
|
|
{% include 'includes/see-also.txt.twig' with {structure:constant, title_level: '=='} %}
|
|
|
|
{% include 'includes/uses.txt.twig' with {structure:constant, title_level: '=='} %}
|
|
|
|
{% include 'includes/tags.txt.twig' with {structure:constant, title_level: '==', blacklist: ['link', 'see', 'var', 'deprecated', 'uses', 'package', 'subpackage', 'todo', 'code-example']} %}
|
|
|
|
</WRAP>{# group #}
|
|
|
|
{% endblock %}
|