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

Commit ac0e82c

Browse files
authored
docs(js/guide): don't use shredder & _data.json fixes (#2467)
replay Patrice's PR #2448
1 parent f5f1e80 commit ac0e82c

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108

109109
"npm-packages": {
110110
"title": "Npm Packages",
111-
"intro": "Details of the recommended npm packages and the different kinds of package dependencies"
111+
"intro": "Recommended npm packages, and how to specify package dependencies"
112112
},
113113

114114
"pipes": {
@@ -123,7 +123,7 @@
123123

124124
"security": {
125125
"title": "Security",
126-
"intro": "Prevent security vulnerabilities"
126+
"intro": "Developing for content security in Angular applications"
127127
},
128128

129129
"structural-directives": {
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
include ../_util-fns
1+
extends ../../../ts/latest/guide/index.jade
22

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

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
block includes
22
include ../_util-fns
33

4-
// #docregion intro
54
- var langName = current.path[1] == 'ts' ? 'TypeScript' : 'JavaScript'
65
figure
76
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
109
are building client applications in HTML and #{langName}.
1110

1211
<br clear="all">
13-
// #enddocregion intro
1412

15-
// #docregion how-to-read-1
1613
<a id="learning-path"></a>
1714
:marked
1815
# Organization
1916

2017
The documentation is divided into major thematic sections, each
2118
a collection of pages devoted to that theme.
22-
// #enddocregion how-to-read-1
23-
// #docregion how-to-read-2
19+
20+
block js-alert
21+
2422
- var top="vertical-align:top"
2523
table(width="100%")
2624
col(width="15%")
@@ -83,8 +81,7 @@ table(width="100%")
8381
1. [Template Syntax](template-syntax.html) is a comprehensive study of Angular template HTML.
8482

8583
After reading the above sections, you can skip to any other pages on this site.
86-
// #enddocregion how-to-read-2
87-
// #docregion the-rest
84+
8885
:marked
8986
# Code samples
9087

@@ -119,4 +116,3 @@ block example-links
119116

120117

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

0 commit comments

Comments
 (0)