Commit Graph

95 Commits

Author SHA1 Message Date
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
Filipe Silva 49a7bc3860 chore: Partition example shredder to do one directory at a time
also exclude /dist/ folder and exclude _examples from jade shredder
closes #1661
2016-06-13 22:20:45 -07:00
Patrice Chalin 5adbfb9502 chore(ignored/boilerplate files): cleanup
closes #1646
2016-06-13 11:33:12 -07:00
Foxandxss 4dcea96b6d chore: better protractor task
closes #1641
2016-06-13 10:39:51 -07:00
Patrice Chalin e6643b0869 chore(gulpfile): don't watch generated dart packages (#1601) 2016-06-08 08:54:43 -07:00
Foxandxss fb49cbe33f docs(cli-quickstart): add cli 5 min quickstart
closes #1606
2016-06-07 18:51:27 -07:00
Foxandxss f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -07:00
Foxandxss 21d74d531a chore: update all packages to latest versions
closes #1607
2016-06-06 12:24:25 -07:00
Foxandxss 90b1e0be8d chore: fix git-changed-examples
closes #1585
2016-06-04 01:19:40 -07: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
Ward Bell b2262c2bc9 chore: updated broken-link-checker package and tweaked logging. 2016-06-01 00:12:51 -07:00
Ward Bell 8a5df4cfa9 chore: support e2e-specs written in TypeScript
Update gulpfile and project to add a tsconfig to protractor test folders
Change all sample e2e-spec.js -> e2e-spec.ts
Split typings between e2e-spec & app code
Use same config for all e2e tests
Only 1/3 e2e specs truly converted.
Most don't pass because they fail TS transpile by Protractor due to missing type annotations
2016-05-31 22:03:13 -07:00
Eric Jimenez d12b74d244 fix(gulp): rename angular2 to @angular, fixes api doc examples 2016-05-26 09:22:25 -07:00
Filipe Silva 6c797d752a chore(travis): add Travis CI
closes #1526
2016-05-25 16:47:30 -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
Patrice Chalin 6751f779d0 test(e2e/dart): add support for Dart e2e testing
closes #1369
Add `--lang` option whose values are any combo of `(ts|js|dart)`
default is `(ts|js)`
`--lang=all` runs all language tests;
2016-05-17 10:31:49 -07:00
Foxandxss 773afc5f17 chore: make protractor report failed suites
closes #1242
2016-05-10 17:08:28 -07:00
Patrice Chalin 55bec4a097 chore(gulpfile): don't watch the dart build folder (#1344) 2016-05-10 13:17:10 +01:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
John Papa d5e909bde0 docs(style-guide): add style-guide - v.4 2016-04-28 00:52:20 -07:00
Ward Bell e1862887ae docs(testing): more testing samples and infrastructure setup
added wallaby config; revised karma-test-shim
2016-04-22 13:24:44 -07:00
Ward Bell 7fdb40caa3 chore: replace VSCode-specific settings.json with broadly recommended .editorconfig
closes #1022
2016-04-05 10:15:27 -07:00
Torgeir Helgevold c1f2c397ff docs: add DI cookbook 2016-04-05 10:15:18 -07:00
Filipe Silva 3ec0e7147b fix(e2e): fix race condition 2016-04-02 15:08:48 -07:00
Ward Bell 1a154daa2e chore: add gulp link-checker task
also fix some of the broken links that it found
2016-03-10 23:53:43 -08:00
Ward Bell ad7f172ea5 docs: share 'styles.css' across all samples all langs; fix styles 2016-02-28 12:47:01 -08:00
Ward Bell d401716fc2 chore(gulpfile): ensure NODE_ENV=production before running harp 2016-02-16 17:52:25 -08:00
Ward Bell 8c291ab760 chore: exclude all fragment files from shred watchers
closes #845
Faster authoring process although must kick the browser more frequently with F5 because the refresh timing isn't quite right.
2016-02-16 10:21:43 -08:00
Ward Bell 79d251cfad devtools: fix jade-shredding watch exclusions 2016-02-15 18:40:25 -08:00
Jay Traband 3926d4202f chore: move jade fragments into separate _fragments subdirs.
closes #842
2016-02-15 13:31:08 -08:00
Ward Bell 3d992384c3 chore(devguide/ts): to beta.6 + typings + related doc updates 2016-02-12 00:56:22 -08:00
Jay Traband 59204bfbc8 chore(tooling): Fix for jade shredding thrashing
closes #731
2016-01-21 22:32:01 -08:00
Jay Traband 45ac0ee37d docs(tooling): new mixin for sharing jade files
merges #725
2016-01-19 15:43:47 -08:00