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

Commit cdec7d1

Browse files
committed
api(map): fixing links in the filtered list, removing left nav
1 parent a90e58d commit cdec7d1

File tree

5 files changed

+30
-6
lines changed

5 files changed

+30
-6
lines changed

public/docs/js/latest/api/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"_listtype": "api",
2+
"_listtype": "ordered",
33
"index" : {
44
"title" : "API 2.0 Preview"
55
}

public/docs/js/latest/api/index.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ article(class="l-content-small grid-fluid docs-content")
1313
h3 {{ section.title }}
1414
ul.api-list
1515
li.api-item(ng-repeat='item in apiList[section.name] | filter: { title: apiFilter, docType: apiType }')
16-
a(ng-href='/docs/js/latest/api/{{ section.name }}/{{ item.title }}-{{ item.docType === "directive" ? "class" : item.docType }}')
16+
a(ng-href='{{ section.name }}/{{ item.title }}-{{ item.docType === "directive" ? "class" : item.docType }}.html')
1717
span(class='symbol {{ item.docType }}')
1818
| {{ item.title }}

public/docs/ts/latest/api/_data.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"_listtype": "ordered",
3+
"index" : {
4+
"title" : "API 2.0 Preview"
5+
}
6+
}

public/docs/ts/latest/api/index.jade

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.banner
2+
dl.api-key
3+
dt Display:
4+
dd.directive(ng-class='{ active: apiType === "directive" }' ng-click='setType("directive")') Directive
5+
dd.class(ng-class='{ active: apiType === "class" }' ng-click='setType("class")') Class
6+
dd.interface(ng-class='{ active: apiType === "interface" }' ng-click='setType("interface")') Interface
7+
dd.function(ng-class='{ active: apiType === "function" }' ng-click='setType("function")') Function
8+
dd.const(ng-class='{ active: apiType === "const" }' ng-click='setType("const")') Const or Enum
9+
dd.var(ng-class='{ active: apiType === "var" }' ng-click='setType("var")') Variable
10+
input.api-filter(placeholder='Filter', ng-model='apiFilter')
11+
article(class="l-content-small grid-fluid docs-content")
12+
div(ng-repeat='section in apiSections')
13+
h3 {{ section.title }}
14+
ul.api-list
15+
li.api-item(ng-repeat='item in apiList[section.name] | filter: { title: apiFilter, docType: apiType }')
16+
a(ng-href='{{ section.name }}/{{ item.title }}-{{ item.docType === "directive" ? "class" : item.docType }}.html')
17+
span(class='symbol {{ item.docType }}')
18+
| {{ item.title }}

public/resources/js/controllers/app-controller.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,22 +75,22 @@ angularIO.controller('AppCtrl', [ '$scope', '$mdDialog', '$timeout', function ($
7575
{
7676
"title": "AfterContentChecked",
7777
"originalModule": "angular2/src/core/compiler/interfaces",
78-
"docType": "class"
78+
"docType": "interface"
7979
},
8080
{
8181
"title": "AfterContentInit",
8282
"originalModule": "angular2/src/core/compiler/interfaces",
83-
"docType": "class"
83+
"docType": "interface"
8484
},
8585
{
8686
"title": "AfterViewChecked",
8787
"originalModule": "angular2/src/core/compiler/interfaces",
88-
"docType": "class"
88+
"docType": "interface"
8989
},
9090
{
9191
"title": "AfterViewInit",
9292
"originalModule": "angular2/src/core/compiler/interfaces",
93-
"docType": "class"
93+
"docType": "interface"
9494
},
9595
{
9696
"title": "AppRootUrl",

0 commit comments

Comments
 (0)