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

Commit 787c0a2

Browse files
committed
docs(router): Hide deprecated router docs
1 parent da3d8f7 commit 787c0a2

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@
101101

102102
"router-deprecated": {
103103
"title": "Router (Deprecated Beta)",
104-
"intro": "The deprecated Beta Router."
104+
"intro": "The deprecated Beta Router.",
105+
"hide": true
105106
},
106107

107108
"router": {
108109
"title": "Routing & Navigation",
109-
"intro": "Discover the basics of screen navigation with the Angular 2 router.",
110-
"hide": true
110+
"intro": "Discover the basics of screen navigation with the Angular 2 router."
111111
},
112112

113113
"structural-directives": {

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@
107107

108108
"router-deprecated": {
109109
"title": "Router (Deprecated Beta)",
110-
"intro": "The deprecated Beta Router."
110+
"intro": "The deprecated Beta Router.",
111+
"hide": true
111112
},
112113

113114
"router": {

public/docs/ts/latest/guide/router-deprecated.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include ../_util-fns
33
.alert.is-critical
44
:marked
55
This chapter describes the *deprecated beta* Component Router which is
6-
replaced by the *release candidate* Component Router. We are documenting that now.
6+
replaced by the new *alpha release* <a href="router.html">Component Router</a>.
77

88
:marked
99
The Angular ***Component Router*** enables navigation from one [view](./glossary.html#view) to the next

public/docs/ts/latest/guide/router.jade

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
include ../_util-fns
22

3+
.alert.is-important
4+
:marked
5+
The Component Router is in alpha release. This is the recommended Angular 2 router and supersedes
6+
the earlier *deprecated beta* and *v2* routers.
7+
38
:marked
49
The Angular ***Component Router*** enables navigation from one [view](./glossary.html#view) to the next
510
as users perform application tasks.

0 commit comments

Comments
 (0)