Commit Graph

506 Commits

Author SHA1 Message Date
Foxandxss 0a0f78f144 docs(style-guide): make barrels a consider
closes #1482
2016-06-01 10:59:41 -07:00
NFM 3d27aa656c docs(style-guide): add the image width attribute
closes #1366
Adjust width 100% to 80%
2016-06-01 10:54:48 -07:00
Anderson 301aadddde docs(toh-pt6): fix filename typo 2016-06-01 01:19:37 -07:00
Vikash 8569479423 docs: fix numerous typos in many doc files.
closes #1509
2016-06-01 01:08:56 -07:00
Zhimin YE(Rex) eb48a71351 docs(architecture): fixed missing `` mark.
closes #1514
2016-06-01 01:03:51 -07:00
Ward Bell 2f115a3425 chore: fix broken devguide links as of May 31
Did not fix broken Dart and API links
2016-06-01 00:52:22 -07:00
Maksims Muižininkas 613d53e152 docs(architecture): correct link to testing
closes #1536
2016-05-31 23:23:54 -07:00
Christopher Thorne 2d27097d55 docs(toh-pt6): correct DetailHeroComponent to HeroDetailComponent
closes #1550
2016-05-31 22:32:55 -07:00
Christopher Thorne 3d868da4b7 docs(toh-pt5): change getHero to match toh-pt6 getHero
closes #1551
2016-05-31 22:31:04 -07:00
Ward Bell ae2d8f2730 docs(template-syntax): add brief example of HTML sanitization in binding.
Also clarified interpolation v. property binding example for PR #1564
2016-05-31 18:36:22 -07:00
Patrice Chalin 5e50b2ef10 chore(util-fns): minor cleanup and refactoring (#1562)
This only impacts language dependent variable and path definitions:
- Removed deprecated variable.
- Hoisted useful variable definitions from quickstart into _util-fns.
- Minor fix in regexp of path translation function
2016-05-31 15:25:59 -07:00
Foxandxss 2bc166c34f docs(toh): fix some header extensions
closes #1549
2016-05-29 14:36:10 -07:00
Foxandxss 888dcf362a chore: remove note against node 6
closes #1540
2016-05-29 12:46:55 -07:00
Foxandxss b962383193 chore: re-title webpack guide to emphasize "Webpack", not "Intro"
closes #1492
2016-05-29 12:27:44 -07:00
Foxandxss c2c6096bec docs(server-communication): fix anchor link
closes #1537
2016-05-28 09:38:26 -07:00
Tero Parviainen 4acbef19a8 docs(upgrade): add ngUpgrade guide version 2
closes #1538
This is a major reorganization of the Upgrade guide.

* Compatible with the new version of the AngularJS 1 PhoneCat
  tutorial.
* No longer switching Angular 1 code to SystemJS for PhoneCat,
  to allow beginning Angular 2 migration with fewer preparation
  steps. SystemJS switch now happens simultaneously with upgrade.
  (This is based on input from @joeeames)
* Testing moved to an appendix to make the main narrative
  shorter and easier to follow.
* Use component methods to do phone filtering and ordering
  instead of introducing pipes to replace filterFilter and orderByFilter.
* Cover issue with camelCase inputs on downgraded components.

For authors:

* All examples now fully integrated with the example boilerplate. Uses the
  same Angular 2 version as all other guides. E2E tests are executed
  along with all the others.
* Reduced number of PhoneCat versions from five to three.
* Each directory has a README explaining how to run it and what might
  be peculiar about it.

Closes angular/angular#8622
Relates to angular/angular.js#14416
Relates to angular/angular-phonecat#326
2016-05-28 09:33:06 -07:00
Patrice Chalin a664f46231 docs(template-syntax): review and update Dart to new doc design (#1465)
* ts template-syntax.jade without docregion tags
* update guide/template-syntax for dart and ts
* clarify style property naming in Dart
2016-05-25 15:09:45 -07:00
Vikash Verma 551ac6dc9d docs: Fix typo (#1504) 2016-05-25 12:17:02 +01:00
Torgeir Helgevold 1644673d6c docs(dependency-injection): show providers using map literals 2016-05-23 19:07:59 -07:00
Foxandxss 915de49863 docs(style-guide): rename avoid template at 05-03
closes #1484
2016-05-23 12:32:26 -07:00
Foxandxss 020abd810f docs(style-guide): a service doesn't have a folder
closes #1481
2016-05-23 12:27:32 -07:00
Foxandxss 508b779a41 docs(toh): add instructions to add the goBack method
closes #1478
2016-05-23 12:18:46 -07:00
Foxandxss 129b34c77e docs(toh): update HTTP chapter with style guide conventions
closes #1477
2016-05-23 12:15:10 -07:00
Shai Reznik 6475b5efab docs(style-guide): added the one more why on 02-02
closes #1473
2016-05-22 20:18:01 -07:00
Kyle Roberts 4ab05a9355 docs(Component relative paths): ofter -> often and colon
closes #1471
2016-05-22 19:54:47 -07:00
Ward Bell b25950090d docs(typings): install into globalDependencies, not globalDevDependencies 2016-05-21 16:49:00 -07:00
Ward Bell 60eeb0123a docs(typings): update typings chapter + update lingering old package references 2016-05-21 16:26:54 -07:00
Foxandxss 81ebdfb8ef docs: add strong advice on node and npm versions 2016-05-21 15:56:09 -07:00
Foxandxss 33b5829b25 docs(toh): put a bit of clarification
closes #1352
2016-05-20 23:40:55 -07:00
Foxandxss 156b6f42ee docs(style-guide): fix example on 02-04
closes #1452
2016-05-20 22:55:37 -07:00
NFM 5a91b5442b docs(server-communication): Modify file name 'rxjs-operators'
Modify file name 'add-rxjs-operators.ts' to 'rxjs-operators.ts', according to real file name.
Ref: https://angular.io/resources/live-examples/server-communication/ts/plnkr.html
2016-05-20 22:52:44 -07:00
Ward Bell e188e472f1 docs(e2e-tests): improve gulp e2e tasks and fix samples that were failing 2016-05-20 20:33:38 -07:00
Ward Bell f9fea00824 docs(component-relative-paths): new cookbook 2016-05-20 20:33:38 -07:00
Patrice Chalin da48db3c77 docs(server-communication): cleanup, mainly for Dart (#1455)
- Dart code: fix issues raised by @thso during review.
- Dart code: remove "show x" clauses from imports.
- Dart add docsync config file.
- Prose: make consistent use of _Http variables; otherwise use "HTTP".
- Prose: add links to the demos list.

* _heroesUrl as static const
2016-05-20 17:14:37 -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
Ward Bell 3423ad8491 chore: more conversion of es6-shim to core-js 2016-05-19 23:18:18 -07:00
Ramzi Samman feec37b784 docs(webpack): fix a typo in the dev guide
closes #1431
2016-05-19 19:24:29 -07:00
Foxandxss bd52aa3f34 docs: complete es6-shim to core-js migration
closes #1442
2016-05-19 19:12:14 -07:00
Ward Bell 3324bd944d docs(toh-6): fix broken 'Add Hero' and fill in instructional gaps 2016-05-19 19:00:20 -07:00
Ward Bell 29511831cd docs(server-communication): heavily refactored (TS & Dart) 2016-05-19 02:48:43 -07:00
Ward Bell a4bc455030 docs(toh): remove unneeded directive from heroes.component 2016-05-19 00:57:35 -07:00
Ward Bell e91659ac13 docs(tutorial/ts): delete tutorial sample in favor of toh-6 2016-05-19 00:30:30 -07:00
Torgeir Helgevold e4db340464 docs:(TOH chapter on Http) New Tour of Hero Chapter on Http 2016-05-18 23:38:08 -07:00
Kathy Walrath a595eb81ef docs(dart): update BASICS intro (#1410)
Also copy edited the TS version a bit.
2016-05-18 13:43:02 -07:00
Patrice Chalin 5b1a84be4c chore(docs): revise makeExcerpt mixin, add makeProjExample mixin
Be more DRY when referencing examples and excerpts. E.g.,
```jade
+makeExcerpt('quickstart/ts/app/app.component.ts', 'import',
'app/app.component.ts (import)')
```
can now be just
```jade
+makeExcerpt('app/app.component.ts', 'import')
```
Defined new mixin for examples named `makeProjExample` using this new
scheme.
The original `makeExample` has been left untouched.

Applied new mixins to quickstart.

closes #1420
2016-05-18 10:27:51 -07:00
Albert Pai d152ea293e docs(cb-dependency-injection): Fix typos
closes #1421
2016-05-18 00:25:57 -07:00
Kathy Walrath 2810218b88 docs(quickstart): edit Dart & TS QuickStarts
closes #1411
2016-05-17 14:17:43 -07:00
Ward Bell 594079970c docs(http): remove status 200 guard and add RxJS operators individually 2016-05-17 01:45:52 -07:00
Ward Bell f5a9edc68c docs(quickstart): say 'My First Angular 2 App' 2016-05-16 23:16:11 -07:00
Patrice Chalin fedc39dd52 docs(quickstart-ts/dart): updated prose and example code; consolidate for TS&Dart
closes #1396
2016-05-15 19:26:45 -07:00