From 6a2cad2640f73133de71b537cf1723b5ced18876 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 5 Aug 2016 11:13:32 -0700 Subject: [PATCH] docs(chore): ensure {forms|router}{,-deprecated} chapters have proper content (#2034) Fixes #2026. --- public/docs/dart/latest/guide/_data.json | 37 +++++++++++-------- .../dart/latest/guide/forms-deprecated.html | 1 - .../dart/latest/guide/forms-deprecated.jade | 5 +++ .../dart/latest/guide/router-deprecated.jade | 6 ++- public/docs/dart/latest/guide/router.jade | 7 +--- 5 files changed, 33 insertions(+), 23 deletions(-) delete mode 100644 public/docs/dart/latest/guide/forms-deprecated.html create mode 100644 public/docs/dart/latest/guide/forms-deprecated.jade diff --git a/public/docs/dart/latest/guide/_data.json b/public/docs/dart/latest/guide/_data.json index eff9a7e77e..2b3bdf70e5 100644 --- a/public/docs/dart/latest/guide/_data.json +++ b/public/docs/dart/latest/guide/_data.json @@ -36,6 +36,14 @@ "basics": true }, + "forms-deprecated": { + "title": "Forms", + "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.", + "nextable": true, + "basics": true, + "hide": true + }, + "dependency-injection": { "title": "Dependency Injection", "intro": "Angular's dependency injection system creates and delivers dependent services \"just-in-time\".", @@ -63,6 +71,11 @@ "basics": true }, + "animations": { + "title": "Animations", + "intro": "A guide to Angular's animation system." + }, + "attribute-directives": { "title": "Attribute Directives", "intro": "Attribute directives attach behavior to elements." @@ -79,11 +92,6 @@ "basics": true }, - "security": { - "title": "Security", - "intro": "Prevent security vulnerabilities" - }, - "hierarchical-dependency-injection": { "title": "Hierarchical Dependency Injectors", "navTitle": "Hierarchical Injectors", @@ -112,14 +120,19 @@ }, "router-deprecated": { - "title": "Router (Deprecated Beta)", - "intro": "The deprecated Beta Router." + "title": "Routing & Navigation", + "intro": "Discover the basics of screen navigation with the Angular 2 Component 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 Component Router." + }, + + "security": { + "title": "Security", + "intro": "Developing for content security in Angular applications" }, "structural-directives": { @@ -149,11 +162,5 @@ "title": "Webpack: an introduction", "intro": "Create your Angular 2 applications with a Webpack based tooling", "hide": true - }, - - "glossary": { - "title": "Glossary", - "intro": "Brief definitions of the most important words in the Angular 2 vocabulary", - "basics": true } } diff --git a/public/docs/dart/latest/guide/forms-deprecated.html b/public/docs/dart/latest/guide/forms-deprecated.html deleted file mode 100644 index f8df2a84a6..0000000000 --- a/public/docs/dart/latest/guide/forms-deprecated.html +++ /dev/null @@ -1 +0,0 @@ -!= partial("../../../_includes/_ts-temp") \ No newline at end of file diff --git a/public/docs/dart/latest/guide/forms-deprecated.jade b/public/docs/dart/latest/guide/forms-deprecated.jade new file mode 100644 index 0000000000..184b0c79e2 --- /dev/null +++ b/public/docs/dart/latest/guide/forms-deprecated.jade @@ -0,0 +1,5 @@ +include ../_util-fns + +:marked + There is no deprecated forms library in Angular Dart. + The forms guide is [here](forms.html). diff --git a/public/docs/dart/latest/guide/router-deprecated.jade b/public/docs/dart/latest/guide/router-deprecated.jade index f8df2a84a6..e8a92f6ed2 100644 --- a/public/docs/dart/latest/guide/router-deprecated.jade +++ b/public/docs/dart/latest/guide/router-deprecated.jade @@ -1 +1,5 @@ -!= partial("../../../_includes/_ts-temp") \ No newline at end of file +include ../_util-fns + +:marked + There is no deprecated router library in Angular Dart. + The router guide is [here](router.html). diff --git a/public/docs/dart/latest/guide/router.jade b/public/docs/dart/latest/guide/router.jade index c7d0130990..f8df2a84a6 100644 --- a/public/docs/dart/latest/guide/router.jade +++ b/public/docs/dart/latest/guide/router.jade @@ -1,6 +1 @@ -include ../_util-fns - -:marked - We're working on the Dart version of this chapter. - In the meantime, please read the - [TypeScript version of this chapter](/docs/ts/latest/guide/router.html). +!= partial("../../../_includes/_ts-temp") \ No newline at end of file