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

Commit 562e994

Browse files
chalinkwalrath
authored andcommitted
chore(cheatsheet): fix double banner issue (#2293)
Each page is designed to have a single banner; adjust the cheatsheet to follow this convention. Also eliminate the article nested within the `l-conent` div. Propagated changes/cleanup to JS and Dart.
1 parent 08130d8 commit 562e994

File tree

11 files changed

+14
-23
lines changed

11 files changed

+14
-23
lines changed

public/docs/dart/latest/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
"cheatsheet": {
4040
"title": "Angular Cheat Sheet",
41-
"intro": "A quick guide to Angular syntax.",
41+
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
4242
"reference": false
4343
},
4444

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
- var base = current.path[4] ? '.' : './guide';
2-
.banner.grid-fluid
3-
.alert.is-important
4-
:marked
5-
This cheat sheet is provisional and subject to change.
62

7-
article(class="l-content-small grid-fluid docs-content")
8-
.cheatsheet
9-
ngio-cheatsheet(src= base + '/cheatsheet.json')
3+
.l-content-small.grid-fluid.docs-content.cheatsheet
4+
ngio-cheatsheet(src= base + '/cheatsheet.json')

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060
"cheatsheet": {
6161
"title": "Angular Cheat Sheet",
62-
"intro": "A quick guide to Angular syntax.",
62+
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
6363
"nextable": true,
6464
"basics": true
6565
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
!= partial("../cheatsheet")
1+
extends ../cheatsheet

public/docs/js/latest/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
"cheatsheet": {
4040
"title": "Angular Cheat Sheet",
41-
"intro": "A quick guide to Angular syntax.",
41+
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
4242
"reference": false
4343
},
4444

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
- var base = current.path[4] ? '.' : './guide';
22

3-
article(class="l-content-small grid-fluid docs-content")
4-
.cheatsheet
5-
ngio-cheatsheet(src= base + '/cheatsheet.json')
3+
.l-content-small.grid-fluid.docs-content.cheatsheet
4+
ngio-cheatsheet(src= base + '/cheatsheet.json')

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
"cheatsheet": {
5454
"title": "Angular Cheat Sheet",
55-
"intro": "A quick guide to Angular syntax.",
55+
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
5656
"nextable": true,
5757
"basics": true
5858
},
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
!= partial("../cheatsheet")
1+
extends ../cheatsheet

public/docs/ts/latest/_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
"cheatsheet": {
4747
"title": "Angular Cheat Sheet",
48-
"intro": "A quick guide to Angular syntax.",
48+
"intro": "A quick guide to Angular syntax. (Content is provisional and may change.)",
4949
"reference": false
5050
},
5151

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
- var base = current.path[4] ? '.' : './guide';
2-
.banner
3-
p.text-body This cheat sheet is provisional and may change. Angular 2 is currently in Release Candidate.
42

5-
article(class="l-content-small grid-fluid docs-content")
6-
.cheatsheet
7-
ngio-cheatsheet(src= base + '/cheatsheet.json')
3+
.l-content-small.grid-fluid.docs-content.cheatsheet
4+
ngio-cheatsheet(src= base + '/cheatsheet.json')

0 commit comments

Comments
 (0)