feat(no index): remove index from api list, it is unnecessary additional information from dgeni

This commit is contained in:
Eric Jimenez 2016-05-12 10:21:21 -04:00 committed by Naomi Black
parent b5d2973163
commit 621bc31c61
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
{%- for module, items in doc.data %} {%- for module, items in doc.data %}
"{$ module $}" : [{% for item in items %} "{$ module | replace("/index", "") $}" : [{% for item in items %}
{ {
"title": "{$ item.title $}", "title": "{$ item.title $}",
"path": "{$ item.exportDoc.path $}", "path": "{$ item.exportDoc.path $}",
@ -9,7 +9,7 @@
"secure": "{$ item.security $}", "secure": "{$ item.security $}",
"howToUse": "{$ item.howToUse $}", "howToUse": "{$ item.howToUse $}",
"whatItDoes": {% if item.whatItDoes %}"Exists"{% else %}"Not Done"{% endif %}, "whatItDoes": {% if item.whatItDoes %}"Exists"{% else %}"Not Done"{% endif %},
"barrel" : "{$ module $}" "barrel" : "{$ module | replace("/index", "") $}"
}{% if not loop.last %},{% endif %} }{% if not loop.last %},{% endif %}
{% endfor %}]{% if not loop.last %},{% endif %} {% endfor %}]{% if not loop.last %},{% endif %}
{% endfor -%} {% endfor -%}