27 Commits

Author SHA1 Message Date
Kapunahele Wong
2d61df1c27 docs(lifecycle-hooks): copy edits and update TOC (#3380) 2017-03-17 12:28:20 -10: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
Ward Bell
de4903be56 chore: Angular 1 -> AngularJS / Angular 2 -> Angular (#3143)
* chore: Angular 1 -> AngularJS / Angular 2 -> Angular

* Jesus' tweaks
2017-01-26 12:26:11 +01:00
Patrice Chalin
50f5a80db1 docs(lifecycle-hooks): Dart sync with TS updates (#2952)
* initial cache sync

Also updating glossary since that was missed earlier.

* minor updates to Dart and TS jade

* final cache sync

* feedback from Ward
2016-12-08 16:48:02 -08:00
Eric Jimenez
e59cd9abc9 chore: remove deprecated clear= and use clear layout helpers (#2822)
* define clear layout helpers

* replace deprecated clear= with helper
2016-11-17 15:02:32 -08:00
Patrice Chalin
061e50fa06 docs: adjust page heading levels (#2813)
* docs: adjust page heading levels

Only the page TOC should be at heading level 1. All other headings
should start at level 2. This commit also removes duplicate headings,
in continuation of #2796.

(This fix is necessary to support an auto-TOC feature.)
2016-11-16 10:02:31 -08:00
Ward Bell
56ac24b411 chore: fix broken links on 9/30, mostly API links (#2520) 2016-10-01 07:11:21 -07:00
Ward Bell
f45c9998cc docs(lifecycle-hooks): combine what and when in one chart; add img (#2469) 2016-09-24 15:50:21 -07:00
Ward Bell
f5f1e80bb7 docs(lifecycle-hooks): make it easier to get to call sequence (#2465)
Per Ben Lesh suggestion. Also converts away from "we"
2016-09-24 12:37:22 -07:00
Suguru Inatomi
5fd6ae3099 fix(docs): fix typo 'ngOnit' (#2211) 2016-08-27 01:58:26 -07:00
Patrice Chalin
f0daf5d238 docs(lifecycle-hooks): post-RC5 Dart resync (#2141)
* lifecycle-hooks: copy latest to cache

* docs(lifecycle-hooks): post-RC5 Dart resync

- TS prose: removed mention of `routerOnActivate` which no longer
exists in the new router.
- TS improvements to the sample code have also been propagated to the
Dart sample.

Contributes to #2077.
E2E tests pass now.

* post-review updates
2016-08-19 15:07:30 -07:00
Trotyl Yu
604e0a72e6 docs(lifecycle-hooks): Remove statements about router-deprecated hooks
closes #2110
The lifecycle-hooks provided by router-deprecated has already been removed in the router, the router now uses guards rather than lifecycle-hooks to achieve the same work.
2016-08-17 17:37:14 -07:00
Fredy Treboux
124a03ae09 docs(lifecycle-hooks): minor typo.
closes #2045
2016-08-09 22:36:55 -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
priestch
b21c90c358 fix(doc): fix 404 problem of some api url 2016-06-28 22:25:24 -07:00
Patrice Chalin
6d2d52c588 docs(dart): cleanup 'live example' links (#1449)
This fixes various issues such as:
- missing space in Dart version between the live demo and demo source
links.
- Live example link directing to Plunker for Dart.

The main mixins (`liveExampleLink`*) used to support the generation of
links now assume reasonable default values for their arguments, and in
most cases the defaults are used.

* Dart example links: use http vs https

As agree to with @kwalrath.
2016-05-20 16:18:58 -07:00
Patrice Chalin
ac92e77611 docs(dev guide): lifecycle-hooks - updated dart/ts code and new dart prose
Mainly copyedits, but also

- Dart .jade extends TS .jade file with minor overrides
- Significant update of example code (so it matches the ts example in its
appearance and behavior).
- Tweaks to Dart code.
- A few extra/corrected mixin definitions in `_util-fns.jade`.
2016-05-06 14:17:34 +01:00
Foxandxss
596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Naomi Black
6d13db472a chore(links): make links to API docs relative 2016-04-19 17:44:38 -07:00
Ken Dale
205cc28f25 docs(lifecycle-hooks): change ngOnit references to ngOnInit
closes #1084
2016-04-13 19:41:44 -07:00
Aristeidis Bampakos
2b714a3945 docs(lifecycle-hooks): Fixed missing ":marked" typo
closes #1051
2016-04-06 10:09:34 -07:00
Ward Bell
a2cb80330a docs: update to beta-12 2016-03-23 21:39:13 -07:00
joeeames
5b27178083 docs(pipes) clarify impure pipes; explain missing filter/orderBy pipes
adds flying-heroes example and its test
adds random-pipe example
2016-03-23 00:02:04 -07:00
Filipe Silva
b5ea1d8f68 docs(lifecycle-hooks): add hook sections, revise sample, add DoCheck & tests 2016-03-16 01:52:11 -07:00
Josh Otis
746a6649b2 chore: new flat left navigation panel (all language tracks) 2016-03-03 04:51:52 -08:00
Peter Bacon Darwin
8501cbcfed docs(guide/lifecycle_hooks): fix typo 2016-01-13 09:41:16 +00:00
Ward Bell
1a98ef5844 docs(Lifecycle Hooks): new chapter
closes #574
2015-12-16 18:10:59 -08:00