Commit Graph

308 Commits

Author SHA1 Message Date
Patrice Chalin dd1811fea5 docs(dart): hide style-guide and browser-support (#2921)
* docs(dart): hide style-guide

* docs(dart): hide browser-support
2016-12-02 16:55:58 +01:00
Kathy Walrath cd235ac340 docs(dart/setup): make Dart setup more Darty 2016-12-01 12:48:06 -08:00
Patrice Chalin 4a0c3d79b7 docs(api/cheatsheet): show ng version + lang in page header (#2918) 2016-12-01 19:47:58 +00:00
Patrice Chalin c7717b4850 docs(toh): fix code-example format and Dart code excerpt (#2907)
* ensure HeroesComponent renaming doesn't show router

* use code-example format consistent with the rest of the docs
2016-12-01 08:15:04 -08:00
Patrice Chalin ab988b4e22 Dart upgrade to 2.2.0
```
Suites passed:
  public/docs/_examples/architecture/dart
  public/docs/_examples/attribute-directives/dart
  public/docs/_examples/dependency-injection/dart
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/forms/dart
  public/docs/_examples/lifecycle-hooks/dart
  public/docs/_examples/pipes/dart
  public/docs/_examples/quickstart/dart
  public/docs/_examples/server-communication/dart
  public/docs/_examples/template-syntax/dart
  public/docs/_examples/toh-1/dart
  public/docs/_examples/toh-2/dart
  public/docs/_examples/toh-3/dart
  public/docs/_examples/toh-4/dart
  public/docs/_examples/toh-5/dart
  public/docs/_examples/toh-6/dart
  public/docs/_examples/user-input/dart
All tests passed

Elapsed time: 1355.134 seconds
```
2016-12-01 08:12:43 -08:00
Patrice Chalin 56e6513659 docs(dart): upgrade to 2.1.1 (#2893)
* update docs home banner

* update example and main repo pubspec.yaml files

* update shredder tests

(Not strictly necessary, but avoids tripping regex triggers when doing
updates.)
2016-11-29 09:36:19 -08:00
Patrice Chalin 0902940eeb docs(dependency-injection): updates to match TS; also minor TS fixes (#2875)
* cache file sync before making updates to Dart jade

* app.module.ts: fix ngmodule docregion

* [TS] dependency-injection.jade updates

* [Dart] dependency-injection.jade updates

* final ts/_cache file sync
2016-11-26 12:20:54 +00:00
Patrice Chalin fb97653721 docs(toh-5/6): update Dart to match TS, with minor tweaks to TS (#2869)
* sync cache before making changes to Dart files

* docs(toh-5): updates for Dart and tweaks for TS

* final sync of toh cache files
2016-11-23 23:42:49 +00:00
Patrice Chalin f2c815f6d0 docs(glossary): update Dart to match TS, with minor tweaks to TS (#2868)
* sync cache before changes to Dart

* docs(glossary): Dart updates and TS tweaks

E.g., add AoT and JiT to Dart.

* final refresh of cache file
2016-11-23 23:20:53 +00:00
Patrice Chalin 692d751375 docs: quickstart reboot for Dart (#2867)
* cache/quickstart sync before making Dart edits

* quickstart updates for Dart

* cache/guide/index sync before making Dart edits

* guide/index updates for Dart

* learning-angular for Dart

* guide/setup for Dart

* refresh cache/tutorial/index
2016-11-23 17:58:21 +00:00
Patrice Chalin 448fd4f0b3 docs(quickstart): show qs files via code-tabs for Dart (#2839) 2016-11-20 15:33:08 -08:00
Patrice Chalin 2d3836c8c1 docs(cache): misc adjustments for Dart (#2830)
* docs(cache): misc adjustments for Dart

Dart cache adjustments:
- Add guide/index (it was being inherited directly from latest before).
- Add proper cache of `_quickstart_repo.jade` (it used to be just an
include).

Also:
- In `_quickstart_repo.jade` use variable set to URL of repo.
- Fix newly added link to Quickstart in guide/index.jade.

* dart/displaying-data: just use TS's _quickstart_repo
2016-11-18 22:55:21 +00:00
Patrice Chalin 0fa21c49ad docs(Dart): sync with TS version of quickstart (#2828)
* update cache

* docs(Dart): sync with TS version of quickstart

* sync cache with updates from previous commit
2016-11-18 21:23:38 +00:00
Patrice Chalin 1c2d14a8b8 docs(guide & api): feedback/issue links for Dart should refer to Dart repos (#2821)
* docs(guide/index): feedback link to Dart repo for Dart

- Also added links to chapters mentioned in table.
- Other minor copyedits.

* docs(api): issue links should refer to Dart repo

* post-review updates

* add link to Advance and Guide chapters

* ensure that we can determine which language is active
2016-11-17 16:53:28 -08:00
Eric Jimenez bde8fe1478 remove grid fluid from dart api list (#2823) 2016-11-17 14:54:42 -08:00
Patrice Chalin f993315931 chore(dart): complete the renaming of "Angular 2" to "Angular" (#2820)
Contributes to #2407

- Dropped the “2” in “Angular 2” and “angular2_*” where appropriate.
- Did a partial sync of `_cache/guide/pipes.jade`
- In quickstart, changed `Try changing the message to "Hello Angular
2!”` to `Try changing the message to "Hello Again Angular!”`.
2016-11-17 14:10:28 -08:00
Patrice Chalin e0aecb39d9 docs(struct-directives): update Dart cache (#2806)
Only minor prose edits in this PR. No net change in the generated HTML
for the TS side.
2016-11-15 15:38:02 -08:00
Patrice Chalin 0dfda08306 docs: in links use href=foo#bar not foo#!#bar (#2807) 2016-11-15 15:36:34 -08:00
Ward Bell 182493f877 feat(cb-ts-to-js): add es6 examples (#2606)
* feat(cb-ts-to-js): add es6 examples
update docshredder to shred .es6
optimized focus gulp task
convert imports and metadate sections
add DI section
add host and query metadata section
add intro
fix capitalization and grammar

* docs(ts-to-js): ward's edits (incomplete)

* docs(ts-to-js): add separate template files for some components

* docs(cb-ts-to-js): refactor sample code
2016-11-14 09:28:40 -08:00
Patrice Chalin 9e9666b2cc docs(template-syntax/dart): updates to match TS (#2751)
* docs(template-syntax): refresh _cache

* docs(template-syntax/dart): updates to match TS

- Propagates TS-side changes:
  - update #2639 - new two-way binding section, and
  - fix #2687 - invalid attr syntax
- Fixes
  - #1898 - currency symbols
  - #2748 - Dart template-syntax e2e is failing
  - #2749 - deprecated `[className]`

* updated _cache file following Kathy's post-review edits

* Post Ward's review w/ cache updated

- Keep `my-` and `my` prefixes on selectors (for components and
directives, respectively).
- Drop `my-` from file names.
- Drop `My` as component class prefix.
2016-11-14 08:34:10 -08:00
Patrice Chalin 5dcffd69dc docs: dart glossary - fix misnamed Jade block 2016-11-14 08:31:59 -08:00
Patrice Chalin c12d75a477 remove redundant headings 2016-11-14 05:23:35 -08:00
Ward Bell 33b61977b2 docs(ts-to-js): ward's edits (incomplete) 2016-11-11 19:44:17 -08:00
Patrice Chalin 6b37da78e4 docs(forms/dart): remove mention of FORM_DIRECTIVES
Fixes #2752
2016-11-08 15:55:52 -08:00
Patrice Chalin c24dd074a6 docs(toh-5/dart): use routerLink in dashboard (#2744)
* docs(toh-5/dart): use routerLink in dashboard

* minor edits to TS jade

* remove dart/toh-pt5 from bad-code-excerpt-skip-patterns
2016-11-08 14:48:03 -08:00
Patrice Chalin 5e79a1a2b5 chore: fix broken links and transform API links for dart docs
- Dart non-api doc pages w/ links to API entries will now have those
links translated from a TS API reference URL to a Dart API reference
URL.
- Created and ran a link checker to verify that all such links to API
entries refer to Dart.
- Fixed links to pages that have moved:
 - JS & Dart: `i18n` is under now `cookbook` not `guide`
 - Dart: testing page is now directly under guide.

Contributes to #1895
Fixes #2273
2016-11-07 13:24:20 -08:00
Kathy Walrath e9d40ab2d7 Update most visible AngularDart pages to 2.0 2016-10-26 14:43:53 +02:00
Patrice Chalin b1917b800f chore: remove deprecated liveExample mixins (#2670)
`+liveExample` mixins were replaced by `<live-example>` directives a
while ago. This cleanup fixes link issues to the plunker under ng2.io.
2016-10-25 20:26:13 +01:00
Eric Jimenez 1fe6434b94 chore: rename Developer Guides to Guide in _data.json(#2563) 2016-10-19 21:49:54 +01:00
Kathy Walrath 6e7780dee0 docs(dart/router): link to router tutorial instead of TS router docs (#2529) 2016-10-03 10:52:03 -07:00
Ward Bell 56ac24b411 chore: fix broken links on 9/30, mostly API links (#2520) 2016-10-01 07:11:21 -07:00
Jesús Rodríguez 66e3eca8eb docs(rc4-to-rc5): change cleanup
closes #2516
2016-09-30 17:14:55 -07:00
Ward Bell e6199a8dfb docs(i18n): add internationalization (i18n) guide (#2491)
* docs(i18n): add internationalization (i18n) guide

* docs(cb-i18n): revamped to System.import the translation file
2016-09-29 11:15:55 -07:00
Patrice Chalin 64d5b3dc23 docs(dart): upgrade to beta.22 (#2494)
* update to beta.22
* Dart SDK 1.19.0 or later is required
* minor edits to sample app titles to e2e tests pass
  * Renamed “Angular 2” to “Angular” so that shared e2e tests pass.
* Tweak to QS prose.
2016-09-27 13:41:46 -07:00
Ward Bell 6def9505cc chore: convert templateUrls to use moduleId where possible. (#2477) 2016-09-25 18:51:54 -07:00
Ward Bell b478aaf7a2 docs(testing): from Igor Minar feedback (Part 1) (#2450) 2016-09-23 02:03:20 -07:00
Patrice Chalin 36a3ea2c21 docs(user-input): misc fixes (#2430)
- Remove nonexistent `<important>` “element” since it causes problems
for ng2.io. This is probably a typo. It was more likely meant to be an
anchor name than an element name.
- Fix two PENDING links.
2016-09-21 08:48:38 -07:00
Patrice Chalin 0f99a7c130 docs(cookbook): don't use shredder on intro page (#2418)
Also added missing cookbook AoT chapter placeholders for JS and Dart,
fixing 404s mentioned in #2389.
2016-09-20 10:59:14 -07:00
Jesús Rodríguez 693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Patrice Chalin 98efced068 docs(lang/latest): parameterize landing page Jade by language (#2389)
ng2.io preparatory work.
2016-09-19 20:14:31 -07:00
Patrice Chalin 0c678c2355 docs: use Jade include rather than Harp partial (#2392)
No net effect on the generated docs.
Preparatory work for ng2.io.
2016-09-19 20:08:03 -07:00
Patrice Chalin e016f3f31e docs(tutorial): don't use shredder for intro page (#2388)
An initial multilang cleanup for ng2.io
2016-09-19 16:56:17 -07:00
Patrice Chalin d26007aa67 docs: fix {ts,dart,js}/latest/_data.json (#2387)
* docs: fix {ts,dart,js}/latest/_data.json

Fixes #2384.
Fixes #2385.

* post-review updates

Addressing #2407.
2016-09-20 00:52:41 +02:00
Alex Wolfe e2ec60d8dd udpate colors and contrast for accessibility improvements 2016-09-16 15:58:20 -07:00
Alex Wolfe 65db6b9268 design(style): Restyle changes from Alex 2016-09-14 17:18:55 -07:00
Ward Bell 1fb488b4ec docs: delete forms- and router-deprecated, jade + examples (#2328) 2016-09-13 18:49:51 -07:00
Ward Bell 01b211193c docs(browser-support): edits (#2299) 2016-09-09 22:21:40 -04:00
Marc Laval d4a641e553 docs(browser-support): document browser support and polyfills (#2244) 2016-09-09 10:02:02 -07:00
Patrice Chalin 562e99463a chore(cheatsheet): fix double banner issue (#2293)
Each page is designed to have a single banner; adjust the cheatsheet to
follow this convention. Also eliminate the article nested within the
`l-conent` div.

Propagated changes/cleanup to JS and Dart.
2016-09-08 15:01:39 -07:00
Patrice Chalin ec076f842e [WIP] chore(dart): update to beta.21 (#2280) 2016-09-07 16:52:04 -07:00