api(map): fixing links in the filtered list, removing left nav
This commit is contained in:
parent
a90e58d313
commit
cdec7d1605
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"_listtype": "api",
|
"_listtype": "ordered",
|
||||||
"index" : {
|
"index" : {
|
||||||
"title" : "API 2.0 Preview"
|
"title" : "API 2.0 Preview"
|
||||||
}
|
}
|
||||||
|
|
|
@ -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='/docs/js/latest/api/{{ section.name }}/{{ item.title }}-{{ item.docType === "directive" ? "class" : item.docType }}')
|
a(ng-href='{{ section.name }}/{{ item.title }}-{{ item.docType === "directive" ? "class" : item.docType }}.html')
|
||||||
span(class='symbol {{ item.docType }}')
|
span(class='symbol {{ item.docType }}')
|
||||||
| {{ item.title }}
|
| {{ item.title }}
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"_listtype": "ordered",
|
||||||
|
"index" : {
|
||||||
|
"title" : "API 2.0 Preview"
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
.banner
|
||||||
|
dl.api-key
|
||||||
|
dt Display:
|
||||||
|
dd.directive(ng-class='{ active: apiType === "directive" }' ng-click='setType("directive")') Directive
|
||||||
|
dd.class(ng-class='{ active: apiType === "class" }' ng-click='setType("class")') Class
|
||||||
|
dd.interface(ng-class='{ active: apiType === "interface" }' ng-click='setType("interface")') Interface
|
||||||
|
dd.function(ng-class='{ active: apiType === "function" }' ng-click='setType("function")') Function
|
||||||
|
dd.const(ng-class='{ active: apiType === "const" }' ng-click='setType("const")') Const or Enum
|
||||||
|
dd.var(ng-class='{ active: apiType === "var" }' ng-click='setType("var")') Variable
|
||||||
|
input.api-filter(placeholder='Filter', ng-model='apiFilter')
|
||||||
|
article(class="l-content-small grid-fluid docs-content")
|
||||||
|
div(ng-repeat='section in apiSections')
|
||||||
|
h3 {{ section.title }}
|
||||||
|
ul.api-list
|
||||||
|
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')
|
||||||
|
span(class='symbol {{ item.docType }}')
|
||||||
|
| {{ item.title }}
|
|
@ -75,22 +75,22 @@ angularIO.controller('AppCtrl', [ '$scope', '$mdDialog', '$timeout', function ($
|
||||||
{
|
{
|
||||||
"title": "AfterContentChecked",
|
"title": "AfterContentChecked",
|
||||||
"originalModule": "angular2/src/core/compiler/interfaces",
|
"originalModule": "angular2/src/core/compiler/interfaces",
|
||||||
"docType": "class"
|
"docType": "interface"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "AfterContentInit",
|
"title": "AfterContentInit",
|
||||||
"originalModule": "angular2/src/core/compiler/interfaces",
|
"originalModule": "angular2/src/core/compiler/interfaces",
|
||||||
"docType": "class"
|
"docType": "interface"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "AfterViewChecked",
|
"title": "AfterViewChecked",
|
||||||
"originalModule": "angular2/src/core/compiler/interfaces",
|
"originalModule": "angular2/src/core/compiler/interfaces",
|
||||||
"docType": "class"
|
"docType": "interface"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "AfterViewInit",
|
"title": "AfterViewInit",
|
||||||
"originalModule": "angular2/src/core/compiler/interfaces",
|
"originalModule": "angular2/src/core/compiler/interfaces",
|
||||||
"docType": "class"
|
"docType": "interface"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "AppRootUrl",
|
"title": "AppRootUrl",
|
||||||
|
|
Loading…
Reference in New Issue