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

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

Merged
merged 1 commit into from
Sep 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/docs/js/latest/guide/_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@

"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": {
Expand All @@ -123,7 +123,7 @@

"security": {
"title": "Security",
"intro": "Prevent security vulnerabilities"
"intro": "Developing for content security in Angular applications"
},

"structural-directives": {
Expand Down
22 changes: 11 additions & 11 deletions public/docs/js/latest/guide/index.jade
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include ../_util-fns
extends ../../../ts/latest/guide/index.jade

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

block js-alert
.alert.is-important
:marked
Most of the documentation has been written for TypeScript developers
and has not yet been translated to JavaScript.
Please bear with us. Meanwhile, we've provide links to the TypeScript chapters
where JavaScript versions are unavailable.
12 changes: 4 additions & 8 deletions public/docs/ts/latest/guide/index.jade
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
block includes
include ../_util-fns

// #docregion intro
- var langName = current.path[1] == 'ts' ? 'TypeScript' : 'JavaScript'
figure
img(src="/resources/images/devguide/intro/people.png" alt="Us" align="left" style="width:200px; margin-left:-40px;margin-right:10px" )
Expand All @@ -10,17 +9,16 @@ figure
are building client applications in HTML and #{langName}.

<br clear="all">
// #enddocregion intro

// #docregion how-to-read-1
<a id="learning-path"></a>
:marked
# Organization

The documentation is divided into major thematic sections, each
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"
table(width="100%")
col(width="15%")
Expand Down Expand Up @@ -83,8 +81,7 @@ table(width="100%")
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.
// #enddocregion how-to-read-2
// #docregion the-rest

:marked
# Code samples

Expand Down Expand Up @@ -119,4 +116,3 @@ block example-links


Use the [Angular Github repo](https://github.com/angular/angular) to report issues with **Angular** itself.
// #enddocregion the-rest