Skip to content

Commit 6a2cad2

Browse files
chalinkwalrath
authored andcommitted
docs(chore): ensure {forms|router}{,-deprecated} chapters have proper content (angular#2034)
Fixes angular#2026.
1 parent a423724 commit 6a2cad2

File tree

5 files changed

+33
-23
lines changed

5 files changed

+33
-23
lines changed

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

+22-15
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@
3636
"basics": true
3737
},
3838

39+
"forms-deprecated": {
40+
"title": "Forms",
41+
"intro": "A form creates a cohesive, effective, and compelling data entry experience. An Angular form coordinates a set of data-bound user controls, tracks changes, validates input, and presents errors.",
42+
"nextable": true,
43+
"basics": true,
44+
"hide": true
45+
},
46+
3947
"dependency-injection": {
4048
"title": "Dependency Injection",
4149
"intro": "Angular's dependency injection system creates and delivers dependent services \"just-in-time\".",
@@ -63,6 +71,11 @@
6371
"basics": true
6472
},
6573

74+
"animations": {
75+
"title": "Animations",
76+
"intro": "A guide to Angular's animation system."
77+
},
78+
6679
"attribute-directives": {
6780
"title": "Attribute Directives",
6881
"intro": "Attribute directives attach behavior to elements."
@@ -79,11 +92,6 @@
7992
"basics": true
8093
},
8194

82-
"security": {
83-
"title": "Security",
84-
"intro": "Prevent security vulnerabilities"
85-
},
86-
8795
"hierarchical-dependency-injection": {
8896
"title": "Hierarchical Dependency Injectors",
8997
"navTitle": "Hierarchical Injectors",
@@ -112,14 +120,19 @@
112120
},
113121

114122
"router-deprecated": {
115-
"title": "Router (Deprecated Beta)",
116-
"intro": "The deprecated Beta Router."
123+
"title": "Routing & Navigation",
124+
"intro": "Discover the basics of screen navigation with the Angular 2 Component Router.",
125+
"hide": true
117126
},
118127

119128
"router": {
120129
"title": "Routing & Navigation",
121-
"intro": "Discover the basics of screen navigation with the Angular 2 router.",
122-
"hide": true
130+
"intro": "Discover the basics of screen navigation with the Angular 2 Component Router."
131+
},
132+
133+
"security": {
134+
"title": "Security",
135+
"intro": "Developing for content security in Angular applications"
123136
},
124137

125138
"structural-directives": {
@@ -149,11 +162,5 @@
149162
"title": "Webpack: an introduction",
150163
"intro": "Create your Angular 2 applications with a Webpack based tooling",
151164
"hide": true
152-
},
153-
154-
"glossary": {
155-
"title": "Glossary",
156-
"intro": "Brief definitions of the most important words in the Angular 2 vocabulary",
157-
"basics": true
158165
}
159166
}

public/docs/dart/latest/guide/forms-deprecated.html

-1
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include ../_util-fns
2+
3+
:marked
4+
There is no deprecated forms library in Angular Dart.
5+
The forms guide is [here](forms.html).
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
!= partial("../../../_includes/_ts-temp")
1+
include ../_util-fns
2+
3+
:marked
4+
There is no deprecated router library in Angular Dart.
5+
The router guide is [here](router.html).
+1-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1 @@
1-
include ../_util-fns
2-
3-
:marked
4-
We're working on the Dart version of this chapter.
5-
In the meantime, please read the
6-
[TypeScript version of this chapter](/docs/ts/latest/guide/router.html).
1+
!= partial("../../../_includes/_ts-temp")

0 commit comments

Comments
 (0)