Commit Graph

191 Commits

Author SHA1 Message Date
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
Filipe Silva 19a9e355a1 fix(plunkers):use correct tsconfig (#2611) 2016-10-15 15:29:32 +02: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 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
Jesús Rodríguez fe220a5cab chore: fix zone.js for plunkers (#2421) 2016-09-21 14:19:22 +02:00
Ward Bell 03680e23bb chore: more "angular2" to "angular" cleanup (#2417) 2016-09-20 11:37:16 +02:00
Jesús Rodríguez 693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Filipe Silva 24c61dd7bc chore: here we are (#2353) 2016-09-15 02:41:19 +01:00
Alex Wolfe 65db6b9268 design(style): Restyle changes from Alex 2016-09-14 17:18:55 -07:00
Igor Minar 7ed5d08af2 fix ngModule tag, api-list and json encoding 2016-09-14 15:13:41 -07:00
Patrice Chalin 33398281a2 chore(api-builder): use Jade include rather than Harp partial 2016-09-14 14:06:14 -07:00
vsavkin b38939c7f4 temp disable docs merger 2016-09-14 14:05:38 -07:00
vsavkin ec72c8007e fix: merge the decorator data with the symbol 2016-09-14 14:05:38 -07:00
Patrice Chalin e70dec57a0 docs(dart/api): clean out styles from api template
The removed linked stylesheets are causing problems under the refreshed
site styling scheme.
2016-09-14 10:49:01 -07:00
Peter Bacon Darwin 9c55afdfde fix(api-builder): pass versionInfo to macros
The update to dgeni-packages led to a breaking change in the Nunjucks
templates, where macros are now isolated from their calling site.

This means that we must pass the `versionInfo` object through to the
macro rather than expecting it to be in scope already.
2016-09-14 07:39:06 -07:00
Peter Bacon Darwin 40a1279fb9 chore(api-builder): add ngModule dgeni tag 2016-09-13 22:13:18 -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
Igor Minar 87981260e0 fix(api-builder): ignore all symbols starting with _ 2016-09-13 09:20:58 -07:00
Jesús Rodríguez 988694bb12 chore: update docs to rc7 2016-09-13 08:48:45 -07:00
Naomi Black 6180fd5137 dgeni(api-builder): hide private classes with extra underscores 2016-09-13 08:47:57 -07:00
Peter Bacon Darwin c3bb033cc1 fix(api-builder): escape double-quotes in JSON output 2016-09-13 15:29:01 +01:00
Igor Minar 9b0b1ae3fb fix(api-builder): prefix static members with 'static' 2016-09-12 11:12:39 -07:00
Igor Minar ed6be8316f refactor(api-builder): remove obsolete stuff 2016-09-12 11:12:39 -07:00
Igor Minar 1e9c0724c2 fix(api-builder): correctly import github and params helpers 2016-09-09 15:18:07 -07:00
Peter Bacon Darwin 13878efca7 api-builder: show metadata details on decorator docs 2016-09-09 15:01:03 -07:00
Peter Bacon Darwin a2089c5b4f api-builder: render pipes with specialised template 2016-09-09 14:44:46 -07:00
Peter Bacon Darwin 40a1049d47 doc-gen(mergeDecoratorDocs): capture all the metadata docs
Iterate through the docs and merge all the of metadata docs
for each decorator doc into the decorator doc and remove it
so that it is not rendered in a page of its own
2016-09-09 14:44:46 -07:00
Peter Bacon Darwin 8c7e2a1766 chore(dgeni-packages): update to use 0.15.2
This version includes the feature to hide members that
are marked private in TypeScript.
2016-09-09 14:41:36 -07:00
Peter Bacon Darwin 2c9e78c500 fix(api-builder/addJadeDataDocs): handle newlines better (#2296)
Closes #2294
2016-09-09 07:39:12 -07:00
Peter Bacon Darwin 672ba7f479 fix(api-builder/linkDocs): don't crash if a doc has no fileInfo (#2296)
Closes #2294
2016-09-09 07:38:59 -07:00
Igor Minar 08130d85df fix(api-builder): remove line number from the github source link
this info is not interesting to the reader.
2016-09-08 14:25:30 -07:00
Igor Minar d83d3bd0a0 fix(api-builder): add a custom template for interface
before we were using the template for class which is wrong
2016-09-08 14:25:30 -07:00
Igor Minar 62d6a51436 fix(api-builder): remove bogus 'class export' section from class template 2016-09-08 14:25:30 -07:00
Igor Minar 24db3d5b9e fix(api-builder): remove obsolete decorator type 2016-09-08 14:25:30 -07:00
Jesús Rodríguez e02f255e0a chore: add testing API back 2016-09-02 15:15:29 +02:00
Ward Bell 9d5bbfca15 chore: update systemjs.configs and plunker-builder/indexHtmlTranslator for RC6 2016-09-01 00:20:58 -07:00
Naomi Black 050ef863da dgeni(api-surface): exclude private symbols for rc6 2016-08-31 22:21:37 -07:00
Filipe Silva 0c962712b3 chore: update to rc6 (#2177) 2016-08-31 18:08:57 -07:00
Rob Wormald b2781d96dc chore(docs): change npmcdn to unpkg 2016-08-31 12:22:19 -07:00
Naomi Black c995de09bb dgeni(new-packages): add platform-webworker and platform-webworker-dynamic 2016-08-31 07:03:00 -07:00
Jesús Rodríguez 6962f03f30 chore: add _self target to embedded plunkers (#2201) 2016-08-26 10:09:35 -07:00
Jesús Rodríguez 5b8df3494a chore: add embedded plunkers functionality (#2194) 2016-08-25 10:44:22 -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 aa439d28c5 chore(travis): report bad code excerpts (BAD FILENAME) in docs (#2154)
* chore(travis): report bad code excerpts (BAD FILENAME)

* Only ignore build dir under dart dir

Have the shredder ignore `**/dart/build/**`.
2016-08-23 10:16:47 -07:00
Patrice Chalin 5d1da1e047 chore(dart/cheatsheet): adjust path to sources (#2149) 2016-08-19 14:58:31 -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
Peter Bacon Darwin 2fb503dabf doc-gen: fix filterable API list
Closes #2054
2016-08-09 10:51:16 -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
Peter Bacon Darwin 63e0e6eaf6 doc-gen: ignore new private module 2016-08-06 07:18:23 +01:00