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.
This commit is contained in:
cfranger 2017-03-01 09:55:05 -08:00 committed by Jules Kremer
parent dd19cdb304
commit 5985dc9cec
7 changed files with 656 additions and 655 deletions

View File

@ -16,11 +16,6 @@
"intro": "Learn how AngularJS concepts and techniques map to Angular." "intro": "Learn how AngularJS concepts and techniques map to Angular."
}, },
"ngmodule-faq": {
"title": "Angular Module FAQs",
"intro": "Answers to frequently asked questions about @NgModule"
},
"component-communication": { "component-communication": {
"title": "Component Interaction", "title": "Component Interaction",
"intro": "Share information between different directives and components" "intro": "Share information between different directives and components"
@ -56,6 +51,11 @@
"intro": "Translate the app's template text into multiple languages." "intro": "Translate the app's template text into multiple languages."
}, },
"ngmodule-faq": {
"title": "NgModule FAQs",
"intro": "Answers to frequently asked questions about @NgModule."
},
"set-document-title": { "set-document-title": {
"title": "Set the Document Title", "title": "Set the Document Title",
"intro": "Setting the document or window title using the Title service." "intro": "Setting the document or window title using the Title service."

File diff suppressed because it is too large Load Diff

View File

@ -101,11 +101,6 @@
"basics": true "basics": true
}, },
"ngmodule": {
"title": "Angular Modules (NgModule)",
"intro": "Define application modules with @NgModule"
},
"animations": { "animations": {
"title": "Animations", "title": "Animations",
"intro": "A guide to Angular's animation system." "intro": "A guide to Angular's animation system."
@ -152,6 +147,11 @@
"intro": "Angular calls lifecycle hook methods on directives and components as it creates, changes, and destroys them." "intro": "Angular calls lifecycle hook methods on directives and components as it creates, changes, and destroys them."
}, },
"ngmodule": {
"title": "NgModules",
"intro": "Define application modules with @NgModule."
},
"npm-packages": { "npm-packages": {
"title": "Npm Packages", "title": "Npm Packages",
"intro": "Recommended npm packages, and how to specify package dependencies" "intro": "Recommended npm packages, and how to specify package dependencies"

View File

@ -26,7 +26,7 @@ include ../_util-fns
Run the <live-example></live-example>. Run the <live-example></live-example>.
.l-main-section .l-main-section#template-driven
:marked :marked
## Template-driven forms ## Template-driven forms

File diff suppressed because it is too large Load Diff

View File

@ -124,7 +124,7 @@ figure.image-display
+makeExample('pipes/ts/src/app/app.component.html', 'chained-parameter-birthday')(format=".") +makeExample('pipes/ts/src/app/app.component.html', 'chained-parameter-birthday')(format=".")
.l-main-section .l-main-section#custom-pipes
:marked :marked
## Custom pipes ## Custom pipes

View File

@ -23,8 +23,6 @@
.c4.secondary-content-list .c4.secondary-content-list
h4 Advanced Documentation h4 Advanced Documentation
ul ul
li
a(href="/docs/#{lang}/#{vers}/guide/ngmodule.html") Angular Modules
li li
a(href="/docs/#{lang}/#{vers}/guide/animations.html") Animations a(href="/docs/#{lang}/#{vers}/guide/animations.html") Animations
li li
@ -34,7 +32,9 @@
li li
a(href="/docs/#{lang}/#{vers}/guide/component-styles.html") Component Styles a(href="/docs/#{lang}/#{vers}/guide/component-styles.html") Component Styles
li li
a(href="/docs/#{lang}/#{vers}/guide/ngmodule.html") View All... a(href="/docs/#{lang}/#{vers}/guide/deployment.html") Deployment
li
a(href="/docs/#{lang}/#{vers}/guide/animations.html") View All...
.c4.secondary-content-list .c4.secondary-content-list
h4 Cookbook h4 Cookbook
@ -43,12 +43,12 @@
a(href="/docs/#{lang}/#{vers}/cookbook/aot-compiler.html") Ahead-of-time Compilation a(href="/docs/#{lang}/#{vers}/cookbook/aot-compiler.html") Ahead-of-time Compilation
li li
a(href="/docs/#{lang}/#{vers}/cookbook/ajs-quick-reference.html") AngularJS to Angular a(href="/docs/#{lang}/#{vers}/cookbook/ajs-quick-reference.html") AngularJS to Angular
li
a(href="/docs/#{lang}/#{vers}/cookbook/ngmodule-faq.html") Angular Module FAQ
li li
a(href="/docs/#{lang}/#{vers}/cookbook/component-communication.html") Component Interaction a(href="/docs/#{lang}/#{vers}/cookbook/component-communication.html") Component Interaction
li li
a(href="/docs/#{lang}/#{vers}/cookbook/component-relative-paths.html") Component-Relative Paths a(href="/docs/#{lang}/#{vers}/cookbook/component-relative-paths.html") Component-Relative Paths
li
a(href="/docs/#{lang}/#{vers}/cookbook/dependency-injection.html") Dependency Injection
li li
a(href="/docs/#{lang}/#{vers}/cookbook/") View All... a(href="/docs/#{lang}/#{vers}/cookbook/") View All...