Last change
on this file since 74891 was
74891,
checked in by marcimat@…, 8 years ago
|
Pouvoir déterminer quels sont les fonctions dont les tags SPIP (@balise, ...) sont absents du phpDoc et créés automatiquement par phpDocumentor et notre plugin.
Ajout d'un mode de debug mal nommé pour rendre visuel ces tags en question, en ajoutant dans l'url ?debug=1 ou en console $.autodoc.debug(true)
|
File size:
1.5 KB
|
Line | |
---|
1 | <section> |
---|
2 | <header class="cartouche"> |
---|
3 | <h1 class='hide'>{{ titre_page }}</h1> |
---|
4 | </header> |
---|
5 | |
---|
6 | <div class="main"> |
---|
7 | |
---|
8 | {%- if (configuration.options.description.value) -%} |
---|
9 | <div id="descriptif_site_spip" class='lead'><p>{{ configuration.options.description.value }}</p></div> |
---|
10 | {%- endif -%} |
---|
11 | |
---|
12 | {%- if (configuration.options.presentation.value) -%} |
---|
13 | <div class="hero-unit item hentry"> |
---|
14 | <div class="texte entry-content"><p>{{ configuration.options.presentation.value }}</p></div> |
---|
15 | </div> |
---|
16 | {%- endif -%} |
---|
17 | |
---|
18 | </div> |
---|
19 | </section> |
---|
20 | |
---|
21 | {% set elements = [ |
---|
22 | {'type': 'balise', 'nom': 'Balises', 'elements': project.indexes.spip.balises}, |
---|
23 | {'type': 'filtre', 'nom': 'Filtres', 'elements': project.indexes.spip.filtres}, |
---|
24 | {'type': 'critere', 'nom': 'Critères', 'elements': project.indexes.spip.criteres}, |
---|
25 | {'type': 'boucle', 'nom': 'Boucles', 'elements': project.indexes.spip.boucles}, |
---|
26 | {'type': 'pipeline', 'nom': 'Pipelines', 'elements': project.indexes.spip.pipelines}, |
---|
27 | ] %} |
---|
28 | |
---|
29 | {% for e in elements %} |
---|
30 | {% if e.elements|length %} |
---|
31 | <div id="{{ e.type }}"> |
---|
32 | <h3>{{ e.nom }}</h3> |
---|
33 | <ul class='colonnes'> |
---|
34 | {% for function in e.elements|trier('name') %} |
---|
35 | {% if not function.tags['deprecated'].count %} |
---|
36 | <li |
---|
37 | {{- function.tags[e.type].0.wasMissing ? " class='was_missing' " : '' -}} |
---|
38 | ><a href="{{ path( function ) }}">{{ function.tags[e.type].0.description }}</a></li> |
---|
39 | {% endif %} |
---|
40 | {% endfor %} |
---|
41 | </ul> |
---|
42 | </div><!-- #{{ e.type }} --> |
---|
43 | {% endif %} |
---|
44 | {% endfor %} |
---|
Note: See
TracBrowser
for help on using the repository browser.