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

Commit 5985dc9

Browse files
cfrangerjuleskremer
authored andcommitted
docs(NgModules): Edits to change Angular Modules to NgModules.
* Edits to the "Angular Modules (NgModule)" page (ngmodule.jade). In order to fix some broken links, I defined their destinations in forms.jade and pipes.jade. * Changed "Angular module" to "NgModule" and other edits. - I assumed that the “Angular Module FAQs” cookbook page should change to “NgModule FAQs”, so I updated that page as well. - I updated the name in page headers, TOC titles, and links on the Docs Home page (index.html). - I noticed the Advanced and Cookbook sections are organized alphabetically, so I reordered the pages and references to reflect that.
1 parent dd19cdb commit 5985dc9

File tree

7 files changed

+656
-655
lines changed

7 files changed

+656
-655
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
"intro": "Learn how AngularJS concepts and techniques map to Angular."
1717
},
1818

19-
"ngmodule-faq": {
20-
"title": "Angular Module FAQs",
21-
"intro": "Answers to frequently asked questions about @NgModule"
22-
},
23-
2419
"component-communication": {
2520
"title": "Component Interaction",
2621
"intro": "Share information between different directives and components"
@@ -56,6 +51,11 @@
5651
"intro": "Translate the app's template text into multiple languages."
5752
},
5853

54+
"ngmodule-faq": {
55+
"title": "NgModule FAQs",
56+
"intro": "Answers to frequently asked questions about @NgModule."
57+
},
58+
5959
"set-document-title": {
6060
"title": "Set the Document Title",
6161
"intro": "Setting the document or window title using the Title service."

public/docs/ts/latest/cookbook/ngmodule-faq.jade

Lines changed: 300 additions & 313 deletions
Large diffs are not rendered by default.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@
101101
"basics": true
102102
},
103103

104-
"ngmodule": {
105-
"title": "Angular Modules (NgModule)",
106-
"intro": "Define application modules with @NgModule"
107-
},
108-
109104
"animations": {
110105
"title": "Animations",
111106
"intro": "A guide to Angular's animation system."
@@ -152,6 +147,11 @@
152147
"intro": "Angular calls lifecycle hook methods on directives and components as it creates, changes, and destroys them."
153148
},
154149

150+
"ngmodule": {
151+
"title": "NgModules",
152+
"intro": "Define application modules with @NgModule."
153+
},
154+
155155
"npm-packages": {
156156
"title": "Npm Packages",
157157
"intro": "Recommended npm packages, and how to specify package dependencies"

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ include ../_util-fns
2626

2727
Run the <live-example></live-example>.
2828

29-
.l-main-section
29+
.l-main-section#template-driven
3030
:marked
3131
## Template-driven forms
3232

3333
Many of us will build forms by writing templates in the Angular [template syntax](./template-syntax.html) with
3434
the form-specific directives and techniques described in this guide.
35-
35+
3636
.l-sub-section
3737
:marked
3838
That's not the only way to create a form but it's the way we'll cover in this guide.

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

Lines changed: 338 additions & 324 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ figure.image-display
124124

125125
+makeExample('pipes/ts/src/app/app.component.html', 'chained-parameter-birthday')(format=".")
126126

127-
.l-main-section
127+
.l-main-section#custom-pipes
128128
:marked
129129
## Custom pipes
130130

public/docs/ts/latest/index.jade

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
.c4.secondary-content-list
2424
h4 Advanced Documentation
2525
ul
26-
li
27-
a(href="/docs/#{lang}/#{vers}/guide/ngmodule.html") Angular Modules
2826
li
2927
a(href="/docs/#{lang}/#{vers}/guide/animations.html") Animations
3028
li
@@ -34,7 +32,9 @@
3432
li
3533
a(href="/docs/#{lang}/#{vers}/guide/component-styles.html") Component Styles
3634
li
37-
a(href="/docs/#{lang}/#{vers}/guide/ngmodule.html") View All...
35+
a(href="/docs/#{lang}/#{vers}/guide/deployment.html") Deployment
36+
li
37+
a(href="/docs/#{lang}/#{vers}/guide/animations.html") View All...
3838

3939
.c4.secondary-content-list
4040
h4 Cookbook
@@ -43,12 +43,12 @@
4343
a(href="/docs/#{lang}/#{vers}/cookbook/aot-compiler.html") Ahead-of-time Compilation
4444
li
4545
a(href="/docs/#{lang}/#{vers}/cookbook/ajs-quick-reference.html") AngularJS to Angular
46-
li
47-
a(href="/docs/#{lang}/#{vers}/cookbook/ngmodule-faq.html") Angular Module FAQ
4846
li
4947
a(href="/docs/#{lang}/#{vers}/cookbook/component-communication.html") Component Interaction
5048
li
5149
a(href="/docs/#{lang}/#{vers}/cookbook/component-relative-paths.html") Component-Relative Paths
50+
li
51+
a(href="/docs/#{lang}/#{vers}/cookbook/dependency-injection.html") Dependency Injection
5252
li
5353
a(href="/docs/#{lang}/#{vers}/cookbook/") View All...
5454

0 commit comments

Comments
 (0)