angular-cn/public/docs
Patrice Chalin 0c0c6f69f3 docs(toh-5): TS/Dart review, and Dart resync (#2115)
* docs(toh-5): review and update/resync Dart

**NOTE: run `gulp add-example-boilerplate` after pulling in the
commit.**

This is preparatory work for #2035.
As part of the the chapter review, the Dart .jade was enhanced to use
Jade extends (#2018).
By the same token it contributed to a post-RC5 resync (#2077). Other
key changes:

Dart and TS code:
- Eliminated `styles.1.css` in favor of docregions in `styles.css`.
- `docregion` tags renamed in a few places.
- **No other code changes**.

TS prose
- Fixed: misnamed variable `routing` -> `appRoutes`.
- All other changes are **minor copy edits**, or changes to support
Dart via Jade extends.

Diff of generated HTML for TS chapter was inspected to ensure only
minor copy edits prevailed (i.e., that the support for Jade extends had
no impact on the generated HTML).

* docs(toh-5): edits after doing tutorial

- Some adjustments following actually doing the tutorial. In some cases code shown (e.g. this is what file foo should look like now) didn't match what the user would have. E.g., lingering @Input on the hero property.
- Fixed some lingering deprecated-router prose elements on TS side (e.g., still referring to a route by the old string names like `HeroDetail`).
- Added extra step to `app.component.ts` creation rather than having a critical-call-out later on.
- Reorder some prose for better harmony between TS and Dart prose (also improves the flow).
- Moved the `styleUrls` call-out to the point of first use.

* post-review changes

* more post-review changes

* toh-6 cache update
2016-08-17 13:31:40 -07:00
..
_examples docs(toh-5): TS/Dart review, and Dart resync (#2115) 2016-08-17 13:31:40 -07:00
_includes style(images): add image best practices to styleguide doc 2016-06-16 16:06:13 -07:00
dart/latest docs(toh-5): TS/Dart review, and Dart resync (#2115) 2016-08-17 13:31:40 -07:00
js/latest docs: small, quick fixes for RC5 including link repair. (#2062) 2016-08-09 15:56:47 -07:00
ts docs(toh-5): TS/Dart review, and Dart resync (#2115) 2016-08-17 13:31:40 -07:00
ImageGuide.pdf style(images): add image best practices to styleguide doc 2016-06-16 16:06:13 -07:00
README.md shred and watch build tooling - v2 ( dgeni, gulp, jade) 2015-08-07 14:49:35 -07:00
_data.json docs(api): fix api nav issue #927 2016-03-08 10:46:03 -08:00
_layout-dart-api.jade docs(api/dart): add support for generation and display (#1888) 2016-07-15 14:10:12 -07:00
_layout.jade docs(api/dart): add support for generation and display (#1888) 2016-07-15 14:10:12 -07:00
index.jade docs(api): fix api nav issue #927 2016-03-08 10:46:03 -08:00

README.md

Why the _fragments dir is checked in

Within this repo files generated as a result of shredding the _examples dir ( the contents of the _fragments dir) are checked in so that we can avoid running the shredder over the entire _examples dir each time someone refreshes the repo ( the shred-full gulp task). The gulp serve-and-watch shredder is only a partial shredder. It only shreds files in directories changed during the current session.