Commit Graph

597 Commits

Author SHA1 Message Date
Torgeir Helgevold e41da11444 docs(forms): upgrading forms guide to new api
This PR upgrades the existing forms to the new API,
while leaving a copy for existing users.

The current forms will be the default until RC4, at
which point we will switch the default to the new API
but still retain a link to the old forms API.

After RC5 the old API docs will be completely removed.
2016-06-22 15:15:12 -07:00
Filipe Silva 31d0c757d7 chore(style-guide): remove routing styles
Routing styles were breaking CI and are out of date, since we're using the 3.0.0 router.

We should remove them until we have recommendations.
2016-06-21 18:11:54 -07:00
Filipe Silva 7848feaeaa chore: update to rc3 2016-06-22 01:51:57 +01:00
Naomi Black 8ad5595a7c docs(security): make screenshot english and update tagline 2016-06-21 11:53:49 -07:00
Martin Probst fb179d9690 docs(security): Add security documentation.
Substantially rewritten, based on original content by Brian Clarkio and
Ward Bell and contributions from Naomi Black.
2016-06-21 10:51:25 -07:00
Torgeir Helgevold 3cb219c5ab docs(dynamic-cookbook): upgrade to use new forms api
convert exiting to use deprecated name

converted to new api

text

warnings

fix plunker

text

test weak

text

space

text

lint

order

tweak
2016-06-20 21:02:28 -04:00
Brandon Roberts 4e7318552d docs(router): Updated docs to reflect alpha 7 release 2016-06-20 16:55:07 -07:00
Naomi Black 787c0a2f36 docs(router): Hide deprecated router docs 2016-06-16 16:43:05 -07:00
Brandon Roberts c61d8195f3 docs(router): update developer guide to new v.3 router 2016-06-16 13:24:49 -07:00
Naomi Black a35e0fd4ef chore(docs): bump version to RC on boilerplate 2016-06-15 16:14:50 -07:00
Foxandxss 6821f89a1c docs(quickstart): add a section to installing typings manually 2016-06-15 15:15:00 -07:00
Foxandxss 8664463c3a remove future features for now 2016-06-15 15:14:45 -07:00
Tero Parviainen bead3620df docs(animate): add animations documentation 2016-06-15 15:14:45 -07:00
Filipe Silva e9cf2a539f chore: update to rc2 2016-06-15 12:21:06 -07:00
Patrice Chalin cd970c21ad docs(toh-3/dart): copyedits and new snake_case glossary entry (#1629) 2016-06-15 10:49:42 -07:00
Patrice Chalin 6e5d8e6491 docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
Deborah Kurata e7f3fc61ce docs(cb-vs2015) new cookbook for Visual Studio 2015 QuickStart
closes #1502
2016-06-13 23:55:14 -07:00
Patrice Chalin ca2e5c5d1d docs(toh-4/ts): copyedits
closes #1638
2016-06-13 11:40:30 -07:00
Helmi 7f256eea75 Fix typo in 'Simulating the web api' section.
closes #1655
2016-06-13 11:05:15 -07:00
Foxandxss 61ad427319 docs(toh): add missing snippets
closes #1649
2016-06-13 10:46:53 -07:00
Patrice Chalin fd46bf4970 docs(toh-5/ts): minor edits
closes #1644
2016-06-13 10:45:23 -07:00
Patrice Chalin 070cb5a193 docs(toh-3/ts): copyedits
closes #1630
2016-06-13 10:36:04 -07:00
Patrice Chalin 16848fc822 docs(toh-2/ts): copyedits
closes #1622
2016-06-13 10:34:19 -07:00
Patrice Chalin 2fc7e5ab50 docs(toh-1/ts): minor edits
closes #1615
- Fixed HTML.
- Removed unnecessary snippet since it is in the code.
- Copyedit: (Hero property) -> (hero property).
2016-06-13 10:28:04 -07:00
Brian Olore ce05f9b4f9 docs(style-guide): make each style clickable for easier referencing 2016-06-13 10:24:58 -07:00
Foxandxss 074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02:00
Patrice Chalin 3c77a7fcd1 docs(basics/di): minor edits following TS switch to provider object literal (#1600)
Minor edits:
- Dart side adjustments following #1594.
- Renamed example '3a' to just '3' and tweaked the logger message
- Removed obsolete Dart block.
2016-06-08 09:25:48 -07:00
Foxandxss fb49cbe33f docs(cli-quickstart): add cli 5 min quickstart
closes #1606
2016-06-07 18:51:27 -07:00
Patrice Chalin 7e52648ee7 docs(toh): update live example links (#1602) 2016-06-07 15:51:25 -07:00
jevonearth f7cf6fde9f docs(toh-6): Fix typo in 'Add/Delete in the HeroesComponent' section.
closes #1603
2016-06-06 17:28:07 -07:00
Ward Bell 06f8002417 docs(pipes): minor text updates
closes #1611
2016-06-06 17:17:50 -07:00
Foxandxss c185c3548c chore: use the provide object literal
closes #1594
replace `provide(...{use:...})` with `{provide: ..., use...}` syntax
2016-06-04 01:33:36 -07:00
twinssbc 6f02f76fc2 docs: remove duplicated words in toh-pt6.jade
closes #1575
2016-06-04 01:25:41 -07:00
Anastasia Kozaeva 2f3cb405e8 Fix typo in 'Error Handling' section
closes #1592
Remove duplicate 'to'
2016-06-04 01:24:00 -07:00
Zhimin YE(Rex) d5650500c8 Removed @View Decorator
closes #1590
2016-06-04 01:22:09 -07:00
Foxandxss 1d294a831c docs(upgrade): escape script tags
closes #1584
2016-06-04 01:17:27 -07:00
Foxandxss 8fe68f414a docs(style-guide): fix 03-03 css class
closes #1582
2016-06-04 01:15:13 -07:00
Patrice Chalin 05864c2584 docs(dependency-injection): revised Dart and TS code and prose (#1573)
docs(dependency-injection): revise Dart and TS code and prose
2016-06-03 11:16:46 -07:00
Patrice Chalin b48cde3a43 chore(_util-fns): generalize makeExample, drop makeProjExample (#1510)
+ Rename adjustExample{Path|Title} to adjustTsExample*4Dart
+ `makeExample` can now work with both doc folder relative and project
relative paths.
2016-06-02 17:06:03 +01:00
Ward Bell 41947cbd1f chore: fix gulp serve-and-sync tasks and many broken example links
The serve-and-sync tasks wait for `_copy-example-boilerplate` to finish
Differentiates app compile, spec compile, and test failures
StyleGuide (for documentators) up-to-date
2016-06-01 16:17:06 -07:00
Foxandxss 6fd62e9baf docs(style-guide): make style guide code compliant with itself
closes #1578
2016-06-01 11:15:57 -07:00
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
Foxandxss 0c49b50cbe docs(webpack): fix tests sourcemaps / clarify logo image download
closes #1399, 1395
2016-05-15 16:08:38 -07:00
Foxandxss fca9671680 docs(style-guide): lift main.ts to src folder
closes #1390, #1361
2016-05-15 15:44:32 -07:00
Mike Hartington 738207affd docs(style-guide): added ng2 snippets for vim
closes #1381
2016-05-15 15:29:47 -07:00
dreambo8563 eec5c00fc0 docs(component-communication): remove _ from private _timerComponent 2016-05-15 15:26:04 -07:00
Kyle Roberts c2339c156d docs(glossary): promises point to dead link, update to mozilla link
closes #1365
2016-05-15 14:59:20 -07:00
escardin aa65f0cf44 docs(webpack) missing word 2016-05-13 14:07:57 -07:00
Foxandxss 81a87c2bfb docs(webpack): remove barrel
closes #1389
2016-05-13 14:05:20 -07:00
Patrice Chalin ad95b04e69 docs(dev guide): pipes - new Dart prose, update Dart and Ts code (#1353)
+ guide/pipes/ts: update docs and example code

+ guide/pipes/dart: new prose, updated example code

+ fix platform_directives reference; html cleanup

+ enable pipes e2e testing
For `e2e-spec.js`: If the async test is executed too early it will fail
(simply because the async message hasn’t been received yet).

+ follow new constants naming convention
2016-05-13 21:44:14 +01:00
Patrice Chalin c1440e7eff [review-pending] docs(dev guide): server-communication - new prose
New Dart prose, update Dart and Ts code

+ guide/server-communication/ts: update to docs and example code
+ guide/server-communication/dart: new prose, update example code
+ ignore all npm-debug.logs
+ make Jade ul li TOC elements more compact.
2016-05-13 21:32:54 +01:00