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

Commit 47ebe4d

Browse files
committed
chore: tweak changelog and setup text
1 parent 281df32 commit 47ebe4d

File tree

2 files changed

+24
-13
lines changed

2 files changed

+24
-13
lines changed

public/docs/ts/latest/guide/change-log.jade

+17-9
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,24 @@ block includes
55
The Angular documentation is a living document with continuous improvements.
66
This log calls attention to recent significant changes.
77

8-
## NEW: Added `src/` folder to all examples (2017-02-02)
9-
We've updated all our examples include a `src/` folder at the project root.
10-
Having this folder helps separate app code from setup and configuration files.
11-
You can read about moving your existing project to this structure in
12-
[the QuickStart repo update instructions](https://github.com/angular/quickstart#updating-to-a-newer-version-of-the-quickstart-repo).
13-
* `app/main.ts` has been moved to `src/main.ts`.
14-
* `app/` has been moved to `src/app/`.
15-
* `index.html`, `styles.css` and `tsconfig.json` have been moved inside `src/`.
8+
## NEW: Samples re-structured with `src/` folder (2017-02-02)
9+
All documentation samples have been realigned with the default folder structure of the angular-cli.
10+
That's a step along the road to basing our sample in the angular-cli.
11+
But it's also good in its own right.
12+
It helps clearly separate app code from setup and configuration files.
13+
14+
We've updated all samples with an `src/` folder at the project root.
15+
The former `app/` folder moves under `src/`.
16+
Read about moving your existing project to this structure in
17+
<a href="https://github.com/angular/quickstart#updating-to-a-newer-version-of-the-quickstart-repo" target="_blank" target="Migrating samples/quickstart app to the src folder">
18+
the QuickStart repo update instructions</a>.
19+
20+
Notably:
21+
* `app/main.ts` moved to `src/main.ts`.
22+
* `app/` moved to `src/app/`.
23+
* `index.html`, `styles.css` and `tsconfig.json` moved inside `src/`.
1624
* `systemjs.config.js` now imports `main.js` instead of `app`.
17-
* `lite-server` configuration (`bs-config.json`) to serve `src/`.
25+
* Added `lite-server` configuration (`bs-config.json`) to serve `src/`.
1826

1927
## NEW: Reactive Forms guide (2017-01-31)
2028
The new [**Reactive Forms**](reactive-forms.html) guide explains how and why to build a "reactive form".

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

+7-4
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,15 @@ block core-files
129129
`)(format='.')
130130

131131
:marked
132-
All guides and cookbooks have _at least these core files_. Each file has a distinct purpose and evolves independently as the application grows.
132+
All guides and cookbooks have _at least these core files_.
133+
Each file has a distinct purpose and evolves independently as the application grows.
133134

134-
Outside `src/` are files meant to support your app, like configuration files and external dependencies.
135+
Files inside `src/` "belong" to your app.
136+
Add new Typescript, HTML and CSS files inside the `src/` directory, most of them inside `src/app`,
137+
unless told to do otherwise.
135138

136-
Whenever a new Typescript, HTML or CSS file is created, it should go inside the `src/` directory (unless noted otherwise).
137-
This is the folder containing your app itself.
139+
Files outside `src/` concern building, deploying, and testing your app.
140+
They include configuration files and external dependencies.
138141

139142
style td, th {vertical-align: top}
140143
table(width="100%")

0 commit comments

Comments
 (0)