From 621bc31c61b6a51307025ccdc961072ebc32d027 Mon Sep 17 00:00:00 2001 From: Eric Jimenez Date: Thu, 12 May 2016 10:21:21 -0400 Subject: [PATCH] feat(no index): remove index from api list, it is unnecessary additional information from dgeni --- .../angular.io-package/templates/api-list-data.template.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/api-builder/angular.io-package/templates/api-list-data.template.html b/tools/api-builder/angular.io-package/templates/api-list-data.template.html index 7b009ec0b7..554091b650 100644 --- a/tools/api-builder/angular.io-package/templates/api-list-data.template.html +++ b/tools/api-builder/angular.io-package/templates/api-list-data.template.html @@ -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 -%}