docs(router): Hide deprecated router docs

This commit is contained in:
Naomi Black 2016-06-16 16:43:05 -07:00
parent da3d8f7f73
commit 787c0a2f36
4 changed files with 11 additions and 5 deletions

View File

@ -101,13 +101,13 @@
"router-deprecated": {
"title": "Router (Deprecated Beta)",
"intro": "The deprecated Beta Router."
"intro": "The deprecated Beta Router.",
"hide": true
},
"router": {
"title": "Routing & Navigation",
"intro": "Discover the basics of screen navigation with the Angular 2 router.",
"hide": true
"intro": "Discover the basics of screen navigation with the Angular 2 router."
},
"structural-directives": {

View File

@ -107,7 +107,8 @@
"router-deprecated": {
"title": "Router (Deprecated Beta)",
"intro": "The deprecated Beta Router."
"intro": "The deprecated Beta Router.",
"hide": true
},
"router": {

View File

@ -3,7 +3,7 @@ include ../_util-fns
.alert.is-critical
:marked
This chapter describes the *deprecated beta* Component Router which is
replaced by the *release candidate* Component Router. We are documenting that now.
replaced by the new *alpha release* <a href="router.html">Component Router</a>.
:marked
The Angular ***Component Router*** enables navigation from one [view](./glossary.html#view) to the next

View File

@ -1,5 +1,10 @@
include ../_util-fns
.alert.is-important
:marked
The Component Router is in alpha release. This is the recommended Angular 2 router and supersedes
the earlier *deprecated beta* and *v2* routers.
:marked
The Angular ***Component Router*** enables navigation from one [view](./glossary.html#view) to the next
as users perform application tasks.