Commit Graph

127 Commits

Author SHA1 Message Date
Patrice Chalin 2026e5026d docs: fix remaining broken links (#2832)
* docs: fix remaining broken links In particular, don’t show the language dropdown for the docs change-log page (since JS and Dart don’t have a change log). Together with #2830, this fixes #2150

* ignore invalid link from about bios
2016-11-18 21:24:35 -08:00
Filipe Silva 12eb19fa3c 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
2016-11-11 19:44:17 -08:00
Patrice Chalin 2808878c36 chore(deploy): don't name project in firebase deploy
Naming the project would sometimes cause gulp to report `An unexpected
error has occurred` with exit code 2.
2016-11-08 08:42:07 -08:00
Ward Bell 74ef87feac docs: systemjs.config.plunker -> systemjs.config.web w/ auto-bootstrap (#2756)
see PR #2756
2016-11-04 21:59:51 -07:00
Patrice Chalin e813fb4716 chore: fix firebase.json; check-deploy to active firebase project
Remove project name from firebase.json, since that is deprecated.

The `check-deploy` gulp task now checks that an active project is defined at the start of `check-deploy`.
To set the active project use: `firebase use <project-or-alias-name>`.

Fixes #2576
2016-11-04 11:05:51 -07:00
Patrice Chalin a3466b9cd3 chore: don't shred _boilerplate files nor dart build files (#2747) 2016-11-04 15:06:13 +00:00
Patrice Chalin 68e61f20d8 chore(e2e): re-enable Dart e2e tests (#2673) 2016-10-26 15:10:42 +02:00
Filipe Silva 0d49fecd30 chore: update to @types (#1872)
* chore: update examples to @types
* fix toh-6 aot and add types link
2016-10-20 17:01:16 -07:00
Patrice Chalin 75f37b76eb chore: Dart API doc gen cleanup and refactoring (#2641)
- gulp task: don’t copy over internal libraries.
- Adjust anchor hrefs rather than use `<base href>` in generated API
pages. The net effect is the same.
2016-10-20 22:29:08 +01:00
Torgeir Helgevold cdfe957ab8 docs(toh-6-aot): add aot to toh-6 (#2496)
* docs(toh-6-aot): add aot to toh-6

s

s

s

s

s

* docs(toh-6-aot): add aot to toh-6

* docs(toh-6-aot): make aot e2e tests run in the same project
Updates tooling for this purpose and also the prose.
2016-10-12 01:44:49 -07:00
Filipe Silva 5042b3021c chore(test): add protractor4 (#2233)
* chore(test): add protractor4

* fix lint, remove boilerplate files, fix less gen

* separate scripts between package.json

* ignore a2docs.css in boilerplate

* remove tslint in _examples
2016-10-06 15:25:52 -07:00
Patrice Chalin 88108620f9 chore(api): shredder to use new ng2 dart examples repo (#2556) 2016-10-06 12:12:39 -07:00
Patrice Chalin db6625eb30 Fix dartdoc styles and prep layout for ng2 pages (#2530)
- Use custom bootstrap grid system styles
- Cache a copy of the dartdoc static-assets styles.css w/ footer styles
disabled.
- Alternate page layout controlled by jade2ng harp global
2016-10-03 14:58:50 -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
Filipe Silva 08e7919094 fix(gulp): fix build and run task defaults (#2484) 2016-09-27 11:16:17 +01:00
Jesús Rodríguez 90100bffd9 chore: ability to add unit test boilerplate (#2462) 2016-09-24 21:03:08 +02:00
Jesús Rodríguez 693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Ward Bell 07cfce795f docs(testing): testing chapter and samples for RC6 (#2198)
[WIP] docs(testing): new chapter, new samples
2016-09-13 14:39:39 -07:00
Filipe Silva dfc671b99f fix(build-compile): allow skipping langs in a fresh build (#2307) 2016-09-13 10:56:18 -07:00
Igor Minar 51bcce6b1c fix(build): correct the angular/angular source pattern for the serve-and-sync-api gulp task 2016-09-07 16:54:28 -07:00
Patrice Chalin 23ff8aaca8 chore: improve UX of build w/o API (#2265)
Just do a full build if no API docs currently exist rather than
building the site and then aborting with an error message at the end of
it all.
2016-09-06 11:22:29 -07:00
Filipe Silva 745f0554e0 chore(gulp): add focus flag (#2258) 2016-09-02 18:54:45 -07:00
Filipe Silva 0c962712b3 chore: update to rc6 (#2177) 2016-08-31 18:08:57 -07:00
Jesús Rodríguez f49b611231 chore: be able to install builds versions by tag
closes #2224
2016-08-30 14:49:51 -07:00
Patrice Chalin e4ed1ce5af chore(site): support site build w/o recompiling API docs (#2202)
* chore(site): support site build w/o recompiling API docs

If the site has already been built once, then rebuild the site without
re-harp-compiling the API docs use:
`gulp check-deploy —lang=‘’`

Otherwise specify the languages whose API docs are to be rebuilt; as
usual, omitting the `—lang` flag is equivalent to `—lang=all` which is
equivalent to `—lang=‘ts|js|dart’`.

Other changes to gulp tasks:
- Renamed `serve` to `harp-serve`.
- Removed `check-serve`. Use `harp-compile` followed by `serve-www’
instead.
- `harp-compile` now also defaults to `—lang=all`.

* post-review updates

- Ensure that the deploy prompt can be seen.
2016-08-26 14:58:13 -07:00
Jesús Rodríguez 5b8df3494a chore: add embedded plunkers functionality (#2194) 2016-08-25 10:44:22 -07:00
Ward Bell fc2815ff6d docs(ngmodule): updates for clarity; breaks out CoreModule 2016-08-24 23:10:10 -07:00
Patrice Chalin 2fcda45161 chore(api): Dart API source folders renamed (#2181)
- angular2 dartdoc files will be in `doc/api`
- angular2 site examples will be in `example`
2016-08-24 13:54:04 -07:00
Patrice Chalin cc6ed06f78 chore(dartdoc): don't cross link to sources (#2174)
Remove dartdoc `—add-crossdart` flag.
2016-08-22 15:03:50 -07:00
Patrice Chalin d7ade2366a chore(dart e2e): add --[no-]pub flag (#2171)
This flag (on by default) determines if `pub {upgrade,build}` is run
before launching e2e tests. It is useful to be able to disable when
tweaking the e2e tests themselves.
2016-08-22 15:02:19 -07:00
Patrice Chalin 05cdc83492 chore(build): fix so --fast can be used with check-deploy etc (#2083) 2016-08-17 09:23:29 -07:00
Patrice Chalin 2fd162425d chore(dart): api doc builder enhancements (#2050)
- #2049, support ng.io doc relative links and code-regions
- Change dartdoc output folder to `docs/api` (from `doc/api`).
2016-08-10 10:36:23 -07:00
Peter Bacon Darwin d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
AlmeroSteyn 177161a708 docs-styles(build): new a11y-compliant styles for doc sample
closes #1897
Generates a2docs.css from a11y-compliant less file
See PR #1897 for more info and next steps.
2016-08-06 11:43:00 -07:00
Patrice Chalin bf3e1074ea docs(api/dart): avoid duplicate entries and fix breadcrumbs (#1945) 2016-08-01 14:30:12 -07:00
Patrice Chalin 13aa6b1498 chore(travis): include dart doc generation
closes #1910
- Installs Dart SDK
- Installs ng2/dart sources from the pub package site.
- Re-enables doc build on Travis
- install Dartium browser for eventual testing.
- allow TMP and PKG to be set by developer before calling, e.g., install-dart-sdk.sh.
- removes `npm install -g gulp --no-optional` has been removed since it does not appear to be needed.
- Implements most of #1907.
2016-07-19 20:26:39 -07:00
Patrice Chalin 753452650c docs(cheatsheet/dart): generate from dart sources (#1912)
* docs(cheatsheet/dart): generate from dart sources

Fixes #1906.
2016-07-19 12:35:39 -07:00
Patrice Chalin 83ba850305 chore(gulp): except for check-deploy, gulp targets are for (ts|js) only
closes #1915
2016-07-18 15:17:37 -07:00
Patrice Chalin 1e908ffa9c docs(cheatsheet/dart): temporarily use TS cheatsheet data
closes #1902
2016-07-16 19:15:49 -07:00
Patrice Chalin 1bef20abc4 docs(api/dart): add support for generation and display (#1888)
Fixes #1880.
Supersedes #1593.
2016-07-15 14:10:12 -07:00
Patrice Chalin 4da23bfe57 chore(api-builder): linkDevGuide -> linkDocs;linkDocs can default the lang
closes #1849

1) Rename linkDevGuide to linkDocs

Rename the specialized API docs `@linkDevGuide` tag to `@linkDocs`
since it is meant to be used to refer to all angular.io docs, not just
the developer guide.

2) let linkDocs links resolve to proper language

The old linkDevGuide required URIs to be given in the form
'ts/latest/guide/architecture' which forced all language versions of
the API pages to refer to the ts versions of the doc pages they linked
to.

This PR fixes that problem. URIs are now given in the form
'guide/architecture' and then rendered properly for each language. Of
course, when needed, it is still possible to give a language specific
URI.

chore(api-builder): minor code cleanup
2016-07-14 14:30:26 -07:00
Filipe Silva abe9dbe092 chore(ci): add check-deploy to CI
closes #1867
2016-07-14 14:15:49 -07:00
Jesús Rodríguez 02cd26bda6 chore: install upgrade with install-example-angular 2016-07-14 21:41:03 +02:00
Ward Bell 253ab01031 chore(gulpfile): add install-example-angular task to install build packages
Use build packages: gulp install-example-angular --build
Restore release packages: gulp install-example-angular
Documented the command in the README
2016-07-14 12:27:11 -07:00
Patrice Chalin 81b011c6ba chore(linkChecker): fix to checker config
closes #1842
This PR eliminates false positives by adjusting the checker config
options:
- Some sites don’t support `HEAD` so use the `GET` method.
- Exclude known problematic URLs from being checked.
2016-07-11 20:16:59 -07:00
Patrice Chalin 67ee007fb0 chore(docs build): add flag to control log output level
closes #1823

Gulp targets like `check-deploy` and `serve-and-sync-devguide` are
quite verbose. This PR allows the `dgeni` logging level to be
controlled using the `--dgeni-log` flag. E.g., use `--dgen-log="error"`
to see only errors.

Also sets log level to "error" when gulp is silent
and log level for createShredMapPackage
2016-07-05 23:14:43 -07:00
Patrice Chalin 1b58a86ced chore(gulp): lint should ignore dart build directories 2016-06-30 11:50:28 -07:00
Filipe Silva 560bf2be6c chore: optimize gulp watchers
Reduce amount of watchers for `gulp serve-and-sync-devguide` by roughly 50% (~4900-ish to ~2500).

This should help with the 100% CPU usage #1082, on my machine it went from ~90% to ~50%.

At the end of the day we're still watching an insane amount of files, so it is a demanding process. Maybe using better watcher libs would also help.
2016-06-20 16:55:21 -07:00
Patrice Chalin 2739fb11a5 chore(gulp): don't symlink node_modules for dart examples
Oups, missed this earlier.
2016-06-15 15:30:48 -07:00
Foxandxss 34447904b9 make the example lintable 2016-06-15 15:14:45 -07:00