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