js-api-docs: update `index.jade` use new dynamic API list data
This commit is contained in:
parent
75d4cf86ec
commit
9a6fa4b4c5
|
@ -13,6 +13,6 @@ article(class="l-content-small grid-fluid docs-content")
|
||||||
h3 {{ section.title }}
|
h3 {{ section.title }}
|
||||||
ul.api-list
|
ul.api-list
|
||||||
li.api-item(ng-repeat='item in apiList[section.name] | filter: { title: apiFilter, docType: apiType }')
|
li.api-item(ng-repeat='item in apiList[section.name] | filter: { title: apiFilter, docType: apiType }')
|
||||||
a(ng-href='{{ section.name }}/{{ item.title }}-{{ item.docType === "directive" ? "class" : item.docType }}.html')
|
a(ng-href='{{ item.path }}')
|
||||||
span(class='symbol {{ item.docType }}')
|
span(class='symbol {{ item.docType }}')
|
||||||
| {{ item.title }}
|
| {{ item.title }}
|
||||||
|
|
Loading…
Reference in New Issue