From 562e99463ac1b65777c10bed070a118965b798ed Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 8 Sep 2016 15:01:39 -0700 Subject: [PATCH] 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. --- public/docs/dart/latest/_data.json | 2 +- public/docs/dart/latest/cheatsheet.jade | 9 ++------- public/docs/dart/latest/guide/_data.json | 2 +- public/docs/dart/latest/guide/cheatsheet.jade | 2 +- public/docs/js/latest/_data.json | 2 +- public/docs/js/latest/cheatsheet.jade | 5 ++--- public/docs/js/latest/guide/_data.json | 2 +- public/docs/js/latest/guide/cheatsheet.jade | 2 +- public/docs/ts/latest/_data.json | 2 +- public/docs/ts/latest/cheatsheet.jade | 7 ++----- public/docs/ts/latest/guide/_data.json | 2 +- 11 files changed, 14 insertions(+), 23 deletions(-) diff --git a/public/docs/dart/latest/_data.json b/public/docs/dart/latest/_data.json index d8ae3f80c9..ed39df4605 100644 --- a/public/docs/dart/latest/_data.json +++ b/public/docs/dart/latest/_data.json @@ -38,7 +38,7 @@ "cheatsheet": { "title": "Angular Cheat Sheet", - "intro": "A quick guide to Angular syntax.", + "intro": "A quick guide to Angular syntax. (Content is provisional and may change.)", "reference": false }, diff --git a/public/docs/dart/latest/cheatsheet.jade b/public/docs/dart/latest/cheatsheet.jade index 77c0f11d36..eec36cfb3f 100644 --- a/public/docs/dart/latest/cheatsheet.jade +++ b/public/docs/dart/latest/cheatsheet.jade @@ -1,9 +1,4 @@ - var base = current.path[4] ? '.' : './guide'; -.banner.grid-fluid - .alert.is-important - :marked - This cheat sheet is provisional and subject to change. -article(class="l-content-small grid-fluid docs-content") - .cheatsheet - ngio-cheatsheet(src= base + '/cheatsheet.json') +.l-content-small.grid-fluid.docs-content.cheatsheet + ngio-cheatsheet(src= base + '/cheatsheet.json') diff --git a/public/docs/dart/latest/guide/_data.json b/public/docs/dart/latest/guide/_data.json index 9fed0cf4fe..162d328233 100644 --- a/public/docs/dart/latest/guide/_data.json +++ b/public/docs/dart/latest/guide/_data.json @@ -59,7 +59,7 @@ "cheatsheet": { "title": "Angular Cheat Sheet", - "intro": "A quick guide to Angular syntax.", + "intro": "A quick guide to Angular syntax. (Content is provisional and may change.)", "nextable": true, "basics": true }, diff --git a/public/docs/dart/latest/guide/cheatsheet.jade b/public/docs/dart/latest/guide/cheatsheet.jade index ff8cc6085c..51a21522a9 100644 --- a/public/docs/dart/latest/guide/cheatsheet.jade +++ b/public/docs/dart/latest/guide/cheatsheet.jade @@ -1 +1 @@ -!= partial("../cheatsheet") +extends ../cheatsheet diff --git a/public/docs/js/latest/_data.json b/public/docs/js/latest/_data.json index 04bb91e507..a4f0318673 100644 --- a/public/docs/js/latest/_data.json +++ b/public/docs/js/latest/_data.json @@ -38,7 +38,7 @@ "cheatsheet": { "title": "Angular Cheat Sheet", - "intro": "A quick guide to Angular syntax.", + "intro": "A quick guide to Angular syntax. (Content is provisional and may change.)", "reference": false }, diff --git a/public/docs/js/latest/cheatsheet.jade b/public/docs/js/latest/cheatsheet.jade index c623d14bcd..eec36cfb3f 100644 --- a/public/docs/js/latest/cheatsheet.jade +++ b/public/docs/js/latest/cheatsheet.jade @@ -1,5 +1,4 @@ - var base = current.path[4] ? '.' : './guide'; -article(class="l-content-small grid-fluid docs-content") - .cheatsheet - ngio-cheatsheet(src= base + '/cheatsheet.json') +.l-content-small.grid-fluid.docs-content.cheatsheet + ngio-cheatsheet(src= base + '/cheatsheet.json') diff --git a/public/docs/js/latest/guide/_data.json b/public/docs/js/latest/guide/_data.json index f1dc5b57f9..42eede99f8 100644 --- a/public/docs/js/latest/guide/_data.json +++ b/public/docs/js/latest/guide/_data.json @@ -52,7 +52,7 @@ "cheatsheet": { "title": "Angular Cheat Sheet", - "intro": "A quick guide to Angular syntax.", + "intro": "A quick guide to Angular syntax. (Content is provisional and may change.)", "nextable": true, "basics": true }, diff --git a/public/docs/js/latest/guide/cheatsheet.jade b/public/docs/js/latest/guide/cheatsheet.jade index ff8cc6085c..51a21522a9 100644 --- a/public/docs/js/latest/guide/cheatsheet.jade +++ b/public/docs/js/latest/guide/cheatsheet.jade @@ -1 +1 @@ -!= partial("../cheatsheet") +extends ../cheatsheet diff --git a/public/docs/ts/latest/_data.json b/public/docs/ts/latest/_data.json index ad5f75d32f..122f173344 100644 --- a/public/docs/ts/latest/_data.json +++ b/public/docs/ts/latest/_data.json @@ -45,7 +45,7 @@ "cheatsheet": { "title": "Angular Cheat Sheet", - "intro": "A quick guide to Angular syntax.", + "intro": "A quick guide to Angular syntax. (Content is provisional and may change.)", "reference": false }, diff --git a/public/docs/ts/latest/cheatsheet.jade b/public/docs/ts/latest/cheatsheet.jade index 11640d4f1d..eec36cfb3f 100644 --- a/public/docs/ts/latest/cheatsheet.jade +++ b/public/docs/ts/latest/cheatsheet.jade @@ -1,7 +1,4 @@ - var base = current.path[4] ? '.' : './guide'; -.banner - p.text-body This cheat sheet is provisional and may change. Angular 2 is currently in Release Candidate. -article(class="l-content-small grid-fluid docs-content") - .cheatsheet - ngio-cheatsheet(src= base + '/cheatsheet.json') +.l-content-small.grid-fluid.docs-content.cheatsheet + ngio-cheatsheet(src= base + '/cheatsheet.json') diff --git a/public/docs/ts/latest/guide/_data.json b/public/docs/ts/latest/guide/_data.json index 2dc886c071..f1e24dd8aa 100644 --- a/public/docs/ts/latest/guide/_data.json +++ b/public/docs/ts/latest/guide/_data.json @@ -60,7 +60,7 @@ "cheatsheet": { "title": "Angular Cheat Sheet", - "intro": "A quick guide to Angular syntax.", + "intro": "A quick guide to Angular syntax. (Content is provisional and may change.)", "nextable": true, "basics": true },