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

Commit 6e1dfe1

Browse files
committed
docs(guide/index): feedback link to Dart repo for Dart
- Also added links to chapters mentioned in table. - Other minor copyedits.
1 parent 2a3dbe5 commit 6e1dfe1

File tree

4 files changed

+19
-34
lines changed

4 files changed

+19
-34
lines changed

public/_includes/_util-fns.jade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
//- Location of sample code
3939
- var _liveLink = 'live link';
40+
- var _ngRepoURL = 'https://github.com/angular/angular';
4041

4142
//- NgModule related
4243
- var _AppModuleVsAppComp = 'AppModule'

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ include ../../../_includes/_util-fns
1919
- var _appDir = 'lib';
2020
- var _indexHtmlDir = 'web';
2121
- var _mainDir = 'web';
22+
- var _ngRepoURL = 'https://github.com/dart-lang/angular2';
2223

2324
//- NgModule related
2425
- var _AppModuleVsAppComp = 'AppComponent'

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,3 @@ extends ../../../ts/latest/guide/index.jade
22

33
block includes
44
include ../_util-fns
5-
6-
block example-links
7-
:marked
8-
Look for a link to that sample near the top of each page.
9-
For example, the sample repo https://github.com/angular-examples/architecture
10-
contains the code
11-
for the [Architecture](architecture.html) chapter's sample.
12-
A running version of that sample is at
13-
https://angular-examples.github.io/architecture/.

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

Lines changed: 17 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ figure
99
are building client applications in HTML and #{_Lang}.
1010
<br style="clear:left;">
1111

12-
:marked
1312
## Organization
1413

1514
The documentation is divided into major thematic sections, each
@@ -22,7 +21,7 @@ table(width="100%")
2221
col(width="15%")
2322
col
2423
tr(style=top)
25-
td <b>QuickStart</b>
24+
td <b><a href="../quickstart">QuickStart</a></b>
2625
td
2726
:marked
2827
The foundation for every page and sample in this documentation.
@@ -32,12 +31,12 @@ table(width="100%")
3231
:marked
3332
The essential ingredients of Angular development.
3433
tr(style=top)
35-
td <b>API Reference</b>
34+
td <b><a href="../api">API Reference</a></b>
3635
td
3736
:marked
3837
Authoritative details about each member of the Angular libraries.
3938
tr(style=top)
40-
td <b>Tutorial</b>
39+
td <b><a href="../tutorial">Tutorial</a></b>
4140
td
4241
:marked
4342
A step-by-step, immersive approach to learning Angular that
@@ -48,12 +47,14 @@ table(width="100%")
4847
:marked
4948
In-depth analysis of Angular features and development practices.
5049
tr(style=top)
51-
td <b>Cookbook</b>
50+
td <b><a href="../cookbook">Cookbook</a></b>
5251
td
5352
:marked
5453
Recipes for specific application challenges, mostly code snippets with a minimum of exposition.
54+
5555
:marked
5656
## Learning path
57+
5758
You don't have to read the guide straight through. Most pages stand on their own.
5859

5960
For those new to Angular, the recommended learning path runs through the *Guide* section:
@@ -80,37 +81,28 @@ table(width="100%")
8081

8182
After reading the above sections, you can skip to any other pages on this site.
8283

83-
:marked
8484
## Code samples
8585

8686
Each page includes code snippets that you can reuse in your applications.
8787
These snippets are excerpts from a sample application that accompanies the page.
8888

89-
block example-links
90-
:marked
91-
Look for a link to a running version of that sample near the top of each page,
92-
such as this <live-example name="architecture"></live-example> from the [Architecture](architecture.html) page.
89+
Look for a link to a running version of that sample near the top of each page,
90+
such as this <live-example name="architecture"></live-example> from the [Architecture](architecture.html) page.
91+
<p if-docs="ts">
92+
The link launches a browser-based code editor where you can inspect, modify, save, and download the code.
93+
</p>
9394

94-
The link launches a browser-based code editor where you can inspect, modify, save, and download the code.
95-
96-
:marked
9795
A few early pages are written as tutorials and are clearly marked as such.
9896
The rest of the pages highlight key points in code rather than explain each step necessary to build the sample.
9997
You can always get the full source through the #{_liveLink}.
10098

10199
## Reference pages
102100

103-
The [Cheat Sheet](cheatsheet.html) lists Angular syntax for common scenarios.
104-
105-
The [Glossary](glossary.html) defines terms that Angular developers should know.
106-
107-
The [API Reference](../api/) is the authority on every public-facing member of the Angular libraries.
108-
109-
## Feedback
110-
111-
We welcome feedback!
112-
113-
Use the [angular.io Github repo](https://github.com/angular/angular.io) for **documentation** issues and pull requests.
101+
- The [Cheat Sheet](cheatsheet.html) lists Angular syntax for common scenarios.
102+
- The [Glossary](glossary.html) defines terms that Angular developers should know.
103+
- The [API Reference](../api/) is the authority on every public-facing member of the Angular libraries.
114104

105+
## We welcome feedback!
115106

116-
Use the [Angular Github repo](https://github.com/angular/angular) to report issues with **Angular** itself.
107+
- Use the [angular.io Github repo](https://github.com/angular/angular.io) for **documentation** issues and pull requests.
108+
- Use the [Angular Github repo](!{_ngRepoURL}) to report issues with **Angular** itself.

0 commit comments

Comments
 (0)