docs(js/guide): don't use shredder & _data.json fixes (#2467)

replay Patrice's PR #2448
This commit is contained in:
Ward Bell 2016-09-24 14:30:06 -07:00 committed by GitHub
parent f5f1e80bb7
commit ac0e82cda7
3 changed files with 17 additions and 21 deletions

View File

@ -108,7 +108,7 @@
"npm-packages": { "npm-packages": {
"title": "Npm Packages", "title": "Npm Packages",
"intro": "Details of the recommended npm packages and the different kinds of package dependencies" "intro": "Recommended npm packages, and how to specify package dependencies"
}, },
"pipes": { "pipes": {
@ -123,7 +123,7 @@
"security": { "security": {
"title": "Security", "title": "Security",
"intro": "Prevent security vulnerabilities" "intro": "Developing for content security in Angular applications"
}, },
"structural-directives": { "structural-directives": {

View File

@ -1,12 +1,12 @@
include ../_util-fns extends ../../../ts/latest/guide/index.jade
+includeShared('{ts}', 'intro') block includes
+includeShared('{ts}', 'how-to-read-1') include ../_util-fns
.alert.is-important
:marked block js-alert
Most of the documentation has been written for TypeScript developers .alert.is-important
and has not yet been translated to JavaScript. :marked
Please bear with us. Meanwhile, we've provide links to the TypeScript chapters Most of the documentation has been written for TypeScript developers
where JavaScript versions are unavailable. and has not yet been translated to JavaScript.
+includeShared('{ts}', 'how-to-read-2') Please bear with us. Meanwhile, we've provide links to the TypeScript chapters
+includeShared('{ts}', 'the-rest') where JavaScript versions are unavailable.

View File

@ -1,7 +1,6 @@
block includes block includes
include ../_util-fns include ../_util-fns
// #docregion intro
- var langName = current.path[1] == 'ts' ? 'TypeScript' : 'JavaScript' - var langName = current.path[1] == 'ts' ? 'TypeScript' : 'JavaScript'
figure figure
img(src="/resources/images/devguide/intro/people.png" alt="Us" align="left" style="width:200px; margin-left:-40px;margin-right:10px" ) img(src="/resources/images/devguide/intro/people.png" alt="Us" align="left" style="width:200px; margin-left:-40px;margin-right:10px" )
@ -10,17 +9,16 @@ figure
are building client applications in HTML and #{langName}. are building client applications in HTML and #{langName}.
<br clear="all"> <br clear="all">
// #enddocregion intro
// #docregion how-to-read-1
<a id="learning-path"></a> <a id="learning-path"></a>
:marked :marked
# Organization # Organization
The documentation is divided into major thematic sections, each The documentation is divided into major thematic sections, each
a collection of pages devoted to that theme. a collection of pages devoted to that theme.
// #enddocregion how-to-read-1
// #docregion how-to-read-2 block js-alert
- var top="vertical-align:top" - var top="vertical-align:top"
table(width="100%") table(width="100%")
col(width="15%") col(width="15%")
@ -83,8 +81,7 @@ table(width="100%")
1. [Template Syntax](template-syntax.html) is a comprehensive study of Angular template HTML. 1. [Template Syntax](template-syntax.html) is a comprehensive study of Angular template HTML.
After reading the above sections, you can skip to any other pages on this site. After reading the above sections, you can skip to any other pages on this site.
// #enddocregion how-to-read-2
// #docregion the-rest
:marked :marked
# Code samples # Code samples
@ -119,4 +116,3 @@ block example-links
Use the [Angular Github repo](https://github.com/angular/angular) to report issues with **Angular** itself. Use the [Angular Github repo](https://github.com/angular/angular) to report issues with **Angular** itself.
// #enddocregion the-rest