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

Commit f38067b

Browse files
committed
chore(quickstart/ts): updates to support new docs design
Jade file updated to support new docs design. Also other kinds of edits; e.g., the prose is more compact, showing the handful of config files in via a `makeTab`. This new shorter version (once explanations are hidden) feels more like a QuickStart guide :).
1 parent aa65f0c commit f38067b

File tree

4 files changed

+380
-381
lines changed

4 files changed

+380
-381
lines changed

public/docs/_examples/quickstart/ts/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ import { Component } from '@angular/core';
99
template: '<h1>My First Angular 2 App</h1>'
1010
})
1111
// #enddocregion metadata
12-
// #docregion export
12+
// #docregion class
1313
export class AppComponent { }
14-
// #enddocregion export
14+
// #enddocregion class
Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
11
/* #docregion */
2-
/* Master Styles */
32
h1 {
43
color: #369;
54
font-family: Arial, Helvetica, sans-serif;
65
font-size: 250%;
76
}
8-
h2, h3 {
9-
color: #444;
10-
font-family: Arial, Helvetica, sans-serif;
11-
font-weight: lighter;
12-
}
137
body {
148
margin: 2em;
159
}
16-
body, input[text], button {
17-
color: #888;
18-
font-family: Cambria, Georgia;
19-
}
20-
21-
/*
22-
* See https://github.com/angular/angular.io/blob/master/public/docs/_examples/styles.css
23-
* for the full set of master styles used by the documentation samples
24-
*/
25-

public/docs/ts/latest/_util-fns.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include ../../../_includes/_util-fns
55
//- Other values match the defaults.
66
77
mixin liveExampleLink(linkText, exampleUrlPartName)
8-
a(href='/resources/live-examples/#{exampleUrlPartName}/ts/plnkr.html')= linkText
8+
a(href='/resources/live-examples/#{exampleUrlPartName}/ts/plnkr.html' target="_blank")= linkText
99

1010
mixin liveExampleLink2(linkText, exampleUrlPartName)
1111
//- In Dart this also gives a link to the source.

0 commit comments

Comments
 (0)