Commit Graph

161 Commits

Author SHA1 Message Date
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
Naomi Black 8548d3cb06 chore(nav): update left nav to add glossary back 2016-06-28 13:58:30 -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
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 c185c3548c chore: use the provide object literal
closes #1594
replace `provide(...{use:...})` with `{provide: ..., use...}` syntax
2016-06-04 01:33:36 -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
Foxandxss b962383193 chore: re-title webpack guide to emphasize "Webpack", not "Intro"
closes #1492
2016-05-29 12:27:44 -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
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
Ward Bell 29511831cd docs(server-communication): heavily refactored (TS & Dart) 2016-05-19 02:48:43 -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 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
Foxandxss 96238bbfab docs(cb-webpack): add guide chapter about webpack 2016-05-12 17:22:14 -07:00
Ward Bell 19bf5f6689 docs(router-deprecated): fix example links that weren't to deprecated code
closes #1340
2016-05-10 21:40:09 -07:00
Patrice Chalin ef66e38e54 docs(dev guide): Update 'Component Styles' prose (#1320)
Reowork Ts prose and add Dart prose/code

+ Updates to docs and example code

(Starting point for Dart code was taken from #1171.)
2016-05-10 08:51:23 +01:00
Patrice Chalin f30d71a3cc docs(dev guide): cleanup of deprecated Jade mixin (#1322)
Replace uses of `liveExLinks` mixin and then deleted its definition.
2016-05-09 21:13:50 +01:00
Patrice Chalin e958be24bf docs(dev guide): attribute-directives - updated dart/ts code and new dart prose
Mainly copyedits and prep for extension

+ example code cleanup & bug fix
+ fix bug in default color initialization
2016-05-06 15:42:01 +01: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
Patrice Chalin ce6c645501 docs(dev guide): structural-directives - ts minor edits, dart first versiondocs(dev guide): structural-directives - ts minor edits, dart first version (#1277)
Copyedits and other minor edits for TS
+ first version of the chapter for Dart
2016-05-04 13:18:38 +01:00
Ward Bell 2ccdd867d2 docs(router): samples and doc for new router (phase 1) 2016-05-03 09:18:18 -06:00
Foxandxss 3f50248940 docs(style-guide): revisions for New World (repack)
closes #1260
2016-05-03 00:42:02 -06:00
Patrice Chalin ff20b55975 chore(dart & ts): update to beta.17
Change `ngFor=“#…”` to `ngFor=“let…` in code. All are .dart files
except for `app_component.html` which also has changes for:
- `<inpuf var-foo…`> to `<input ref-foo…>`
- `#docregion` tag name updates from var-foo to ref-foo.
- Other misc updates to minimize diffs with TS version of file,
whitespace differences were ignored.

+ Minor update to sync up Dart prose with TS prose.

+ Used
https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer#resol
ved_identifiers to solve
https://github.com/angular/angular.io/issues/1033

Guide/pipes not updated as it will be rolled back to
beta.15 in PR #1220.
2016-04-30 15:01:16 +01:00
Patrice Chalin 1e64d9e57a docs(guide/dart): hierarchical-dependency-injection without copying
closes #1207
This uses a simpler way to render Dart prose from TS prose without
making a copy. This will make it _much_ easier to keep the two in sync.
2016-04-28 17:03:28 -07:00
Eric Jimenez 8f158f2241 docs(sidenav reorg): remove glossary and cheatsheet from REFERENCE. Move glossary to BASICS. Rename REFERENCE to API REFERENCE 2016-04-25 14:10:57 -07:00
Kathy Walrath 7a0d2f6956 docs(dart): proposed text for linking to Dart samples
This PR uses hierarchical-dependency-injection as the guinea pig. The text is similar to what's used in copyedited TS pages such as https://angular.io/docs/ts/latest/guide/displaying-data.html.
2016-04-25 02:48:08 -07:00
Foxandxss 4097c67b59 chore: rename Elvis to safe navigation operator
closes #1139
2016-04-23 14:22:57 -07:00
Patrice Chalin 9ec291d63d docs(guide/dart): hierarchical-dependency-injection
* A full first version of the prose. Makes use of Dart example, of
course.
* Tweaks to Dart example code; manually tested in Dartium under checked
mode.

closes #1142
2016-04-22 16:56:27 -07:00
John Papa bd079369f3 docs(style-guide): add A2 styleguide - v1 2016-04-12 20:08:09 -07:00
Alberto Jiménez López 8e7c552452 docs: Remove double 'the' & missing dashes in several files
closes #1073
2016-04-11 21:53:28 -07:00
Tero Parviainen 6f945b7c38 docs(component-styles): add chapter about styling components
closes #1047
2016-04-06 10:02:23 -07:00
Kathy Walrath ed4e450497 chore(typo): quide -> guide in cheatsheets
closes #1039
2016-04-01 15:50:09 -07:00
Kathy Walrath 185f9a7049 docs(dart): update to b12
Also update dart_to_js_script_rewriter dependency to ^1.0.1,
and change most angular2.dart imports to be core.dart instead.

The pipes example broke without the angular2.dart import, so I let it be.

The server-communication sample has never worked for me,
so I changed it but might have broken it further.

closes #1007
2016-03-25 17:40:23 -07:00
Kathy Walrath 10877bdbfc docs(dependency-injection): add Dart version, tweak TS version
closes #972
2016-03-25 15:21:11 -07:00
Naomi Black 0e8d7afc08 chore(links): fix broken links in dev guides 2016-03-16 20:05:16 -07:00
Ward Bell bf3ed182a7 docs: left nav is driven by _data.json files 2016-03-04 19:54:27 -08:00
Ward Bell ed5effa503 docs: only allow 'Next Step' for *nextable* chapters 2016-03-03 17:59:36 -08:00
Kathy Walrath cab0abdb2c docs: tweaks and fixes to dart/ts/js navigation & page titles
closes #911
2016-03-03 16:46:28 -08:00
Josh Otis 746a6649b2 chore: new flat left navigation panel (all language tracks) 2016-03-03 04:51:52 -08:00
Kathy Walrath e725136d98 docs(template-syntax): publish Dart version, tweak TypeScript version
closes #875
2016-03-01 21:19:34 -08:00
Ward Bell f01dc81fa1 docs(npm packages): added chapter per angular issue #6659 2016-03-01 13:00:34 -08:00
Ward Bell 95c34d27bc docs: temporary TS-referencing chapters for gaps in JS/Dart
Also displays styleguide at language level
Fragmented glossary for JS & Dart
2016-03-01 11:22:04 -08:00
Kathy Walrath f117500af5 docs(server-communication/dart): add placeholder page
closes #902
2016-02-29 21:26:56 -08:00
Ward Bell ad7f172ea5 docs: share 'styles.css' across all samples all langs; fix styles 2016-02-28 12:47:01 -08:00
Kathy Walrath a51df8cdd4 docs(bugfix): remove mention of npm from Dart quickstart
closes #862
closes #874
2016-02-22 08:58:02 -08:00
Ward Bell 157d6d48cc docs(template syntax): improvements based on review feedback Feb 16
closes #851
2016-02-19 00:38:17 -08:00
luis 1ac9316171 docs(dependency-injection): add Dart sample
closes #817
2016-02-16 13:58:29 -08:00
Ward Bell ee5a4e131a docs(template-syntax): add TOC, NgSwitch, and NgForTrackBy - TS/Dart 2016-02-16 11:03:02 -08:00
Kathy Walrath 3d87360432 docs(template-syntax): get closer to a Dart version of template-syntax
Add doc regions to the TS version.
Update the Dart sample.
Publish a hidden draft of the Dart version.

Closes #758.
2016-02-09 20:49:49 -08:00
Kathy Walrath 096b99f2ae docs(displaying-data): convert Dart chapter to match newish TypeScript version
closes #666
2016-02-08 11:33:57 -08:00
Andrii Nechytailov 02e2b7b866 docs(guide): fix broken link to Dart quickstart page
closes #762
2016-01-27 22:06:49 -08:00
Kathy Walrath 49f4b9e147 docs(guide): add placeholders for missing Dart chapters
closes #736
2016-01-25 15:47:09 -08:00
Kathy Walrath cca9d5a1c5 docs(user-guide): update Dart text to match new TS text
also update the Dart sample a bit

closes #677
2016-01-19 10:20:17 -08:00
Kathy Walrath b8063a814e docs(guide): update Dart forms example & text
closes #654
2016-01-05 16:57:28 -08:00
Vladislav Zarakovsky 3137359c7d docs(guides): Fix typos "-change" -> "Change"
closes #605
2016-01-04 12:25:46 -08:00
Naomi Black 42f3381ec2 chore(images): add new people image 2015-12-21 06:38:29 -08:00
Naomi Black cbde64d712 chore(graphics): updates to guide images people and airplane 2015-12-21 06:30:36 -08:00
Naomi Black 3351f0758b chore(images): hide images that need update, add new ones 2015-12-15 19:44:59 -08:00
Naomi Black a2d71de557 chore(cleanup): remove generated files from the repository 2015-12-15 19:34:40 -08:00
Tom Ingebretsen 40312da5b0 docs(guide): add Dart intro
closes #460
2015-12-15 13:17:50 -08:00
Naomi Black e959f5e0d9 versioning(beta): update from dev preview to beta in text 2015-12-15 11:40:55 -08:00
Naomi Black ab90d68240 docs(router): fix filetree styles 2015-12-15 11:35:11 -08:00
Ward Bell d474c9a6cd stumped by the router wildcard 2015-12-15 11:35:11 -08:00
Peter Bacon Darwin 452e7e7729 chore(doc-gen): automatically update environment and version on the cheatsheet
Closes #515
2015-12-15 09:51:52 -08:00
Naomi Black 8f67e3fe54 cheatsheet(version): update version numbers, remove download until fixed 2015-12-15 01:23:32 -08:00
Kathy Walrath 8e8963270b docs(guide): Update Dart forms chapter to alpha.52
closes #471
2015-12-14 10:14:10 -08:00
Filipe Silva 92574937f3 docs(forms): add js guide
closes #500
2015-12-14 10:04:59 -08:00
Peter Bacon Darwin 8459a4dd5c chore(doc-gen): allow dart cheatsheet to be generated 2015-12-08 17:31:53 -08:00
Kathy Walrath 0874f94520 docs(displaying-data): update Dart version to alpha.47
Per feedback on #195.

closes #443
2015-12-03 16:29:43 -08:00
Kathy Walrath f82b730cbd docs(guide): add Dart forms guide
closes #409
2015-12-03 13:15:33 -08:00
Tom Ingebretsen d827d785ff Updated Dart quickstart and guide examples to angular2 version alpha.45
Updated Dart quickstart and guide examples to angular2 version alpha.45
2015-11-11 14:24:30 -07:00
Naomi Black 876f2dd6b6 chore(nav): Update nav with new structure, make ts default view 2015-10-14 23:04:58 -07:00
Robert Messerle f38e6e7bd4 cleans up various alignment and layout issues 2015-10-09 16:27:33 -07:00
Naomi Black cc934560ac docs(dart): update to alpha-39 2015-10-06 13:49:38 -07:00
Kathy Walrath f293d61875 clarify/improve imports & import discussion 2015-10-06 13:11:04 -07:00
Kathy Walrath 9907ef265e update dart docs to alpha.38 2015-10-06 13:11:04 -07:00
Kathy Walrath 0d0b734b4f Update Dart docs to alpha.33 2015-07-30 17:11:07 -07:00
Naomi Black 9169409c21 harp(update): var changes to allow use with harp 0.17.0 2015-07-28 00:14:34 -07:00
Kathy Walrath 75452c9858 update to alpha-29 2015-07-01 17:40:50 -07:00
Kathy Walrath c1ba841d69 Update to alpha-28
Only changes are to version numbers, command output, and a couple of places where I said web but should've said lib.
2015-07-01 17:02:06 -07:00
Cezary Bartoszuk 0d6c1db6bb Typo in code example of lib/show_properties.dart
In the text show_properties.dart is (correctly) placed in the lib directory,
while in the comment at the top of the file, it's path is under web.
2015-06-12 23:57:22 +01:00
Kathy Walrath e1fdffc887 25 -> 26 2015-06-05 11:08:56 -07:00
Kathy Walrath 8db6131ede escape some >s 2015-06-03 13:13:20 -07:00
Kathy Walrath 23fcb95fec Update all the code and text to latest alpha.25 examples 2015-06-03 12:54:59 -07:00
Alex Wolfe 6b11326dac use same images for all guide 2015-05-26 06:29:27 -07:00
Alex Wolfe 88ead0dd12 update dart to .23 2015-05-19 22:41:37 -07:00
Alex Wolfe ed597245ee update dart guide 2015-05-19 09:21:11 -07:00
Alex Wolfe b707aed54b merge with master and updates to code box directives 2015-05-19 06:33:09 -07:00
Alex Wolfe d135d1bf7e Updates for mobile list styles and layout 2015-05-17 11:34:24 -07:00
Rado Kirov 491f2cc97f fix(version): bump to alpha.22
Closes: #98
2015-05-08 13:38:30 -07:00
Alex Wolfe 4210541f24 use one layout, update logic, add prettify to api code tags 2015-05-03 20:28:21 -07:00
Alex Wolfe e5b0cf5119 Fix dart layout template 2015-05-01 10:30:15 -07:00
Kathy Walrath 8650595b70 update dart angular2 version, don't display pub get output 2015-04-28 17:22:00 -07:00
Alex Wolfe b3c6189fc6 update Dart API index, plus Dart guide chapters 3 & 4 2015-04-23 13:40:10 -07:00
Alex Wolfe 58e607e873 banner for dart and image fix 2015-04-23 08:58:53 -07:00
Alex Wolfe d1891f0573 fixed image, added resources back 2015-04-23 08:34:23 -07:00
Kathy Walrath b3f4857070 Update screenshot in chapter 2 2015-04-22 17:44:00 -07:00
Kathy Walrath 2c2f9db31c Update guide chapter 2: displaying data 2015-04-22 16:00:37 -07:00
Kathy Walrath 0fecfb8e98 Changes to chapter 1 of the Dart guide 2015-04-22 11:16:38 -07:00