angular-docs-cn/public/docs/dart/latest
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
..
api docs(api/dart): add support for generation and display (#1888) 2016-07-15 14:10:12 -07:00
cookbook docs(rc4-to-rc5): New RC4->RC5 migration cookbook. 2016-08-09 12:28:25 -07:00
guide docs({quickstart,di}): fix code excerpts and titles (#2118) 2016-08-17 09:21:11 -07:00
testing chore: add gulp link-checker task 2016-03-10 23:53:43 -08:00
tutorial docs(toh-5): TS/Dart review, and Dart resync (#2115) 2016-08-17 13:31:40 -07:00
_data.json docs(dart): update angular.io/dart's link to change log 2016-08-03 12:29:04 -07:00
_quickstart_repo.jade docs(guide/displaying-data): proofread (#1819) 2016-07-07 14:00:19 -07:00
_util-fns.jade docs(quickstart): post-RC5 Dart resync (#2078) 2016-08-10 13:32:07 -07:00
cheatsheet.jade docs(cheatsheet/dart): generate from dart sources (#1912) 2016-07-19 12:35:39 -07:00
glossary.jade docs(glossary/dart): recover content (#2037) 2016-08-05 12:13:29 -07:00
help.jade docs(help&support): create Dart version of help & support page 2016-01-14 14:51:13 -08:00
index.jade [WIP] Add link to AngularDart API docs 2016-06-16 13:37:44 -07:00
quickstart.jade docs({quickstart,di}): fix code excerpts and titles (#2118) 2016-08-17 09:21:11 -07:00
resources.jade docs: simplify left nav selection/scroll 2016-03-04 23:54:44 -08:00
styleguide.jade docs: temporary TS-referencing chapters for gaps in JS/Dart 2016-03-01 11:22:04 -08:00