Commit Graph

840 Commits

Author SHA1 Message Date
Tom Ingebretsen c46892afa9 docs(samples): add Dart version of forms example
closes #350
2015-11-16 13:12:34 -08:00
Tom Ingebretsen 28386efb50 docs(samples): add Dart version of pipes example
closes #365
2015-11-16 12:56:53 -08:00
Peter Bacon Darwin 217c690781 api-builder: fix type-alias template so it doesn't break jade
The previous template was HTML rather than Jade and code blocks in the
content caused the Jade processing to crash.

See https://github.com/angular/angular/issues/4480
2015-11-15 21:36:20 +00:00
Cory Bateman dbb065a7ed refact(app): use recommended `controller as` syntax
Updated site controllers and directives to use controller as syntax

Closes #84
Closes #135
2015-11-15 20:52:35 +00:00
Peter Bacon Darwin 40d528b9de chore(gulpfile): use `gulp.watch` rather than `gulp-watch`
closes #371

This change makes the exclude (ignore) paths work properly.
Unfortunately this will not pick up "new" files that are added after
the watch has begun. Once gulp 4.0 is released, this will be fixed.
2015-11-14 12:53:44 -08:00
Peter Bacon Darwin 700b8e446a chore(gulpfile): ignore `node_modules` folders in examples
This should speed up watching as it is unusual to update files in these
folders during normal development.

If you do change files in an example `node_modules` folder then you must
restart the gulp task to trigger the shredder and reload.
2015-11-14 12:53:24 -08:00
Peter Bacon Darwin 7ac04e446b chore(README): describe the different `sync-and-...` gulp tasks 2015-11-14 12:53:23 -08:00
Peter Bacon Darwin eb7533a6ef chore(gulpfile): ignore `node_modules` folders in examples
This should speed up watching as it is unusual to update files in these
folders during normal development.

If you do change files in an example `node_modules` folder then you must
restart the gulp task to trigger the shredder and reload.
2015-11-14 12:53:22 -08:00
Peter Bacon Darwin aa5767d38c chore(gulpfile): use `gutil.log` rather than `console.log` 2015-11-14 12:53:21 -08:00
Peter Bacon Darwin 0b2db81ac0 chore(gitignore): ignore the generated web app json files 2015-11-14 12:53:20 -08:00
Peter Bacon Darwin cd063b9188 chore(gulpfile): add 500ms read delay on all watches 2015-11-14 12:53:19 -08:00
Peter Bacon Darwin eddf5e7cf1 chore(gulpfile): refine the tasks for watching and synching 2015-11-14 12:53:19 -08:00
Ward Bell a3042849c0 (docs) Tour of Heroes - part 1 & 2. Fix links and make them uniform.
closes #375 and #376
2015-11-14 00:28:59 -08:00
Sahar Jafari 389fb1aa79 hide the social icons for print
closes #210
2015-11-14 00:01:14 -08:00
Ward Bell e7a9a46994 (docs) template-syntax - to alpha46, noImplicitAny, demo enum binding
closes #374
2015-11-13 18:53:25 -08:00
Mark Rajcok 54573563a3 Add missing import of Injectable to DI guide
closes #373
2015-11-13 18:16:56 -08:00
Wassim Chegham 85195742bc docs(*): fix plunkr URL
closes #298
2015-11-13 17:58:06 -08:00
Topher Fangio e66aaa696e docs(harp): add bio for Topher Fangio
Closes #363
2015-11-13 16:46:57 +00:00
Peter Bacon Darwin 10b87e8017 api-builder: add breadcrumbs links 2015-11-13 16:39:21 +00:00
Peter Bacon Darwin 244e5673ab api-builder: filter out member docs
Since we are not rendering these independently of their containers
2015-11-13 16:39:21 +00:00
Peter Bacon Darwin 954a3827b7 api-builder: add simplified name to module docs 2015-11-13 16:39:21 +00:00
Peter Bacon Darwin 888f9ff8d8 api-builder: move templates into angular.io package 2015-11-13 16:39:21 +00:00
Peter Bacon Darwin a98085e7eb api-builder: allow descriptions to be empty via the `@noDescription` tag
If a document description is empty then it is marked with the `notYetDocumented`
property. This change allows developers to tag a code item (export, member, etc)
as explicitly not needing a description.
2015-11-13 16:39:21 +00:00
Peter Bacon Darwin 21feaf499f api-builder: deduce the type of a symbol from its initializer 2015-11-13 16:39:21 +00:00
Peter Bacon Darwin 229557dcb2 api-builder: move the `constructor` into its own section 2015-11-13 16:39:21 +00:00
Peter Bacon Darwin ec4d7b82a2 api-builder: don't show constructor if it is marked as `@internal` 2015-11-13 16:39:21 +00:00
Peter Bacon Darwin f84534a9e2 api-builder: include `exportAs` info in directive docs 2015-11-13 16:39:20 +00:00
Peter Bacon Darwin dbc95b75af api-builder: improve "not yet documented" handling
* All export members are now tagged if they have no documentation.
* All exports are tagged if they and their members have no documentation.
* The templates for these docs display the words "Not Yet Documented" if they are tagged.
* The build creates a warning for each export that is not documented
* The build generates a new file, `public/docs/ts/latest/api/overview-dump.html`, which
lists all the modules, exports and members highlighting those that are not documented.
2015-11-13 16:39:20 +00:00
Peter Bacon Darwin 489ffc9f97 api-builder: remove annotation block from directive docs 2015-11-13 16:38:58 +00:00
Peter Bacon Darwin 7239b52984 api-builder: remove unnecessary outputFolder config setting from angular.io-package
This is set in the gulpfile now
2015-11-13 16:38:58 +00:00
Peter Bacon Darwin ed3a4965e5 api-building: add `@syntax` tag to docs-package 2015-11-13 16:38:58 +00:00
Filipe Silva d8d5e17796 docs(readme): fix nvm link
Closes #309
Closes #338
2015-11-13 08:09:22 +00:00
Peter Bacon Darwin 021c12d58a chore(gulp): re-enable browsersync watching for non-API files 2015-11-13 07:27:53 +00:00
Ward Bell b82e229ade (docs) displaying-data: use npm, not cdn (oops) and upgraded to alpha46
Also no line numbers for single-line examples.
2015-11-12 15:25:42 -08:00
Tapas Jena 175a5e4d87 @View decorator removed to be consistent with other examples available in angular.io site 2015-11-12 12:46:45 -08:00
Wassim Chegham 8cccad42c3 docs(api): fix typos. remove extra 'the' 2015-11-12 12:38:09 -08:00
Kathy Walrath ed89c209a9 Merge pull request #362 from tomplusplus/alpha-45-Dart-update
Dart update to alpha.45
2015-11-12 10:29:56 -08:00
Peter Bacon Darwin ebad24e94b chore(gulpfile): improve serve-and-sync task
Remove the `browserSync` watch as we are manually reloading the browser
when our own watchers complete.
Ensure that the API watcher actually triggers the browserSync reload.
2015-11-12 11:25:18 +00: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
Peter Bacon Darwin 1372a78fed docs(guide/di): fix weird character that broke jade 2015-11-11 11:23:11 +00:00
Peter Bacon Darwin f9c9f5e9e4 chore(gitignore): ignore `www` folder 2015-11-10 18:38:00 +00:00
Peter Bacon Darwin e86fde8dc9 chore(jade): upgrade to use `marked` filter
The `Transformers.markdown` (`:markdown`) filter is deprecated. This commit updates
the entire docs project to use the `jstransformer-marked` (`:marked') filter.
2015-11-10 18:37:53 +00:00
Peter Bacon Darwin 0f61ea288f api-builder: fix jade whitespace issues in the API templates 2015-11-10 18:37:20 +00:00
Peter Bacon Darwin bc7a17c4f6 api-builder: remove unwanted whitespace from directive template 2015-11-10 11:37:06 +00:00
Peter Bacon Darwin fc617d5a67 api-builder: fix incorrect jasmine matcher in target package tests 2015-11-10 11:37:06 +00:00
Peter Bacon Darwin 93c187de2a api-builder: trim blank lines from the end of a text block too 2015-11-10 11:37:06 +00:00
Peter Bacon Darwin 096e5f081b api-web-app: update `cheatsheet.json` from latest angular2 code 2015-11-10 11:37:06 +00:00
Peter Bacon Darwin 666fad1906 api-web-app: update `app-data.json` from latest angular2 code 2015-11-10 11:37:05 +00:00
Peter Bacon Darwin 131cdb7765 api-web-app: convert to using dynamically generated cheatsheet data
Closes #348
2015-11-10 11:37:05 +00:00
Peter Bacon Darwin 66a7edd8cb api-builder: add cheatsheet-package to generate cheatsheet data
Closes #348
2015-11-10 11:37:05 +00:00