Commit Graph

76 Commits

Author SHA1 Message Date
Patrice Chalin 22918b40b5 docs(toh-5): copyedits (#3435) 2017-03-30 09:40:50 -07:00
Kapunahele Wong a705a0ca3c docs(toh): copy edit and fixes in 4, 5, 6 and example (#3412) 2017-03-23 15:47:55 -07:00
Ward Bell 0fc40284dd [WIP] docs(toh): copyedits to conform to Google doc standards (#3032) (#3077) 2017-03-21 11:08:09 -07:00
Patrice Chalin c2bb6ad935 docs(arch,hier-dep,temp-syntax,toh-5): misc copyedits (#3375)
* docs(architecture): copyedit

Follow-up fix to
https://github.com/angular/angular.io/commit/e6741efd8f4fad20ca519d8eb99
ec0c7d102577d#commitcomment-21321447

* docs(hierarchical-dependency): copyedit

* doc(template-syntax): copyedits

* docs(toh-5): remove unnecessary block, trim whitespace
2017-03-15 11:54:03 +01:00
Jesús Rodríguez e6741efd8f chore: remove moduleId from examples (#3362)
* chore: remove moduleId from examples

* add support for testing and plunkers

* delete component-relative cookbook

* latest touches

* ward teaks and travis fixes

* fix typo in style-guide
2017-03-14 12:30:37 +01:00
Stefan Chrobot fdd650bcb9 docs(toh): fix typo (#3301) 2017-02-27 11:37:07 +01:00
Patrice Chalin 6d1716eaa6 docs(toh-5): remove obsolete Dart-only prose (#3292) 2017-02-21 17:47:53 -10:00
Patrice Chalin d41ac241e7 docs(toh-5): copyedit + add callout to importance of base href (#3282) 2017-02-21 17:13:09 +01:00
robshep 56c030cb5d chore(toh-5): Fix broken link to master style in TOH pt5 (#3201) 2017-02-06 10:27:52 -08:00
Filipe Silva 1101f07ef2 refactor: add src folder (#3171)
* boilerplate, gulpfile, quickstart

* move ts files up to cookbooks

* move rest of ts files

* fix tsconfig, default build task, json file

* fix js examples

* fix webpack example

* remove a2docs.css references

* fix aot examples

* fix webpack run task

* fix cb-i18n

* fix upgrade examples

* fix unit tests

* fix comment in deployment index

* removed unused typings.json

* fix plunkers

* fix js example paths

* fix ts quickstart/setup prose

* add src folder note to setup

* broadly replace app/ -> src/app/

* broadly replace main.ts

* broadly replaced index.html

* broadly replace tsconfig

* replace systemjs

* fix filetrees

* Minor prose fixes to aot, i18n cookbooks

* remove char harp was complaining about

* update new reactive forms example

* fix quickstart jade error

* fix mistakes uncovered by CI

* fix bad filename errors

* edit style guide 04-06 rule to use src

* add changelog

* Incorporate Jesus's feedback

* fix snippet headers in toh1/2

* chore: tweak changelog and setup text
2017-02-02 19:38:17 +01:00
Jesús Rodríguez 1b78cc4f35 chore: add base href to all examples (#3157) 2017-01-28 00:38:34 +01:00
Faraz Fazli 074a4f4abb docs(toh-5): fix typo (#3063) 2017-01-02 12:50:54 -08:00
Patrice Chalin b47757a0fb docs(toh-5): wrap moduleId prose in Jade block (#3013) 2016-12-20 22:16:28 +00:00
Patrice Chalin 5d89f90a3b docs(toh-5): clarify that class renaming should be local to file (#2996)
Fixes #2904
2016-12-16 22:49:56 +01:00
Ward Bell 5d7221c026 docs(toh-pt5): add instruc about adding `moduleId` to `AppComponent` (#2967) (#2985)
closes #2967.
2016-12-14 22:36:31 -08:00
Patrice Chalin f0206cc957 docs(ts/_cache): misc sync (#2971)
* docs(toh-5): backport cache change to main jade file

* docs(ts/_cache): misc sync
2016-12-14 08:46:16 -08:00
Patrice Chalin c7717b4850 docs(toh): fix code-example format and Dart code excerpt (#2907)
* ensure HeroesComponent renaming doesn't show router

* use code-example format consistent with the rest of the docs
2016-12-01 08:15:04 -08:00
Ward Bell 79dc1f2dc8 chore: use common instructions for popping out plunker window-button (#2886)
To see the browser title or address bar changes.
Instructions are a little more complicated when the plunker is in embedded style
2016-11-28 21:23:28 -08:00
Patrice Chalin fb97653721 docs(toh-5/6): update Dart to match TS, with minor tweaks to TS (#2869)
* sync cache before making changes to Dart files

* docs(toh-5): updates for Dart and tweaks for TS

* final sync of toh cache files
2016-11-23 23:42:49 +00:00
Ward Bell ec2e6cb2c7 [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:36:16 -08:00
Ward Bell a7525721c0 Revert "[WIP] docs(quickstart): QuickStart reboot (#2762)"
This reverts commit 8ccc33e6ff.
2016-11-21 17:29:00 -08:00
Ward Bell 8ccc33e6ff [WIP] docs(quickstart): QuickStart reboot (#2762) 2016-11-21 17:13:21 -08:00
Chris Sherman b64ec8275a docs(toh-pt5): fix typo (#2836) 2016-11-21 11:27:09 +01:00
Patrice Chalin e0aecb39d9 docs(struct-directives): update Dart cache (#2806)
Only minor prose edits in this PR. No net change in the generated HTML
for the TS side.
2016-11-15 15:38:02 -08:00
Patrice Chalin 0dfda08306 docs: in links use href=foo#bar not foo#!#bar (#2807) 2016-11-15 15:36:34 -08:00
Brandon Roberts 1afe5dc97d docs(router): Updated usage of observables in router tutorial and developer guide
Moved route configuration into separate variable for consistency
Added async pipe to handle subscriptions for list items
2016-11-14 11:05:29 -08:00
Patrice Chalin c12d75a477 remove redundant headings 2016-11-14 05:23:35 -08:00
Patrice Chalin c24dd074a6 docs(toh-5/dart): use routerLink in dashboard (#2744)
* docs(toh-5/dart): use routerLink in dashboard

* minor edits to TS jade

* remove dart/toh-pt5 from bad-code-excerpt-skip-patterns
2016-11-08 14:48:03 -08:00
Ward Bell fa99a8b0b2 docs(toh-5): dashboard uses [routerLink] bindings #998 (#2718)
* docs(toh-5): dashboard uses [routerLink] bindings #998
closes #998

* chore: temp add toh-5 to bad-code-excerpt-skip-patterns.txt
2016-11-03 10:25:01 -07:00
katerberg db1df77571 Fixes typo in Router tutorial (#2688) 2016-10-31 00:49:14 -07:00
Samuel Marks c746c732aa Typo fix (#2657)
Technically 'nestled' still makes sense in this context, but is a little too Christmas-y! - I assume you meant 'nested' :P
2016-10-23 00:52:12 -07:00
Filipe Silva 0d49fecd30 chore: update to @types (#1872)
* chore: update examples to @types
* fix toh-6 aot and add types link
2016-10-20 17:01:16 -07:00
Maurice de Beijer e89ba6f075 docs(toh-5): fix typo in link (#2622)
.htm => .html
2016-10-18 15:14:09 +02:00
Jesús Rodríguez e503efe8c8 docs(toh5): add moduleId information (#2597) 2016-10-13 16:41:57 -07:00
Sebastián Ramírez 4f81a7ee8c docs(toh5): update styles.css link (#2601) 2016-10-14 01:12:06 +02:00
Ward Bell 2e17d587de docs(toh-5): add AppRoutingModule (#2584) 2016-10-11 16:30:30 -07:00
Brandon ff118810ff docs(router): Updated routing examples to use routing modules (#2478)
Simplified routing in tutorial example

Updated ngmodule guide and ngmodule faq with routing module prose
2016-10-05 14:59:09 -07:00
Brandon 556e40695a docs(toh): Replaced window.history with location service (#2439) 2016-09-25 18:56:12 -07:00
Ward Bell 6def9505cc chore: convert templateUrls to use moduleId where possible. (#2477) 2016-09-25 18:51:54 -07:00
Jesús Rodríguez 693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
John Papa 159b196baf docs(toh): fix spelling of ActivateRoute to ActivatedRoute (#2400)
* fixed spelling of ActivateRoute to ActivatedRoute

* dont do cache
2016-09-18 18:34:32 +02:00
Ward Bell 6ff9e1a5c1 docs(toh-6): missing create instruction (#2264)
fixes #2231
also addresses `<h1>` issue raised in PR #2256
2016-09-03 13:46:27 -07:00
Brandon Roberts 5c5c9ca16c fix(toh-5): Fixed issues in tutorial flow
The HeroDetailComponent should be in the module declarations from the beginning.
InMemoryWebApiModule.forRoot(InMemoryDataService) and correct text
2016-08-19 03:43:00 -07:00
Brandon Roberts a35fcb4dfd chore(router): Added ModuleWithProviders to routing exports
closes #2113
2016-08-18 23:57:54 -07:00
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
Peter Bacon Darwin d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Benoit Lateltin 5bac678c60 docs(toh-pt5): fix typo in tutorial
closes #1913
2016-07-18 11:10:19 -07:00
Brandon Roberts 5104470558 docs(router): Removed refs to deprecated router; lowerCamelCase constants
closes #1834
2016-07-11 21:44:12 -07:00
Patrice Chalin b0e0d94b5c docs: revert Jade to markdown
closes #1818
Previously, the markdown of some chapters was converted to Jade markup
to support the conditional exclusion of TS prose parts in Dart
chapters. This commit reverts some of that back to clean markdown,
thanks to a few custom directives.
2016-07-05 23:03:30 -07:00
Brandon Roberts f3189546a6 docs(toh-5): Upgraded tutorial to new router 2016-06-28 12:52:47 -07:00