Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 621bc31

Browse files
Eric Jimeneznaomiblack
authored andcommitted
feat(no index): remove index from api list, it is unnecessary additional information from dgeni
1 parent b5d2973 commit 621bc31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/api-builder/angular.io-package/templates/api-list-data.template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
{%- for module, items in doc.data %}
3-
"{$ module $}" : [{% for item in items %}
3+
"{$ module | replace("/index", "") $}" : [{% for item in items %}
44
{
55
"title": "{$ item.title $}",
66
"path": "{$ item.exportDoc.path $}",
@@ -9,7 +9,7 @@
99
"secure": "{$ item.security $}",
1010
"howToUse": "{$ item.howToUse $}",
1111
"whatItDoes": {% if item.whatItDoes %}"Exists"{% else %}"Not Done"{% endif %},
12-
"barrel" : "{$ module $}"
12+
"barrel" : "{$ module | replace("/index", "") $}"
1313
}{% if not loop.last %},{% endif %}
1414
{% endfor %}]{% if not loop.last %},{% endif %}
1515
{% endfor -%}

0 commit comments

Comments
 (0)