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