205 Commits

Author SHA1 Message Date
George Kalpakas
f7199aa8c8 build(aio): remove -- from more yarn commands () 2017-09-28 09:29:04 -07:00
George Kalpakas
2e1fec17f5 ci(aio): temporarily disable aot-compiler example e2e tests () 2017-09-26 10:21:43 -07:00
George Kalpakas
ffceae0a01 refactor(aio): remove unnecessary -- from yarn commands 2017-09-25 14:37:13 -07:00
Georgios Kalpakas
7a965dc58f build(aio): add support for using the locally built Angular packages for aio
This commit allows building angular.io against the locally built Angular
packages. It adds two new npm scripts:

- `setup-local`: Same as `setup`, but overwrites the Angular packages for both
  angular.io and the examples boilerplate with the locally built ones.
- `build-local`: Same as `build`, but uses `setup-local` instead of `setup`
  under the hood, thus overwriting installed Angular packages with locally built
  ones.

Fixes 
2017-09-25 14:37:12 -07:00
Pete Bacon Darwin
adb0b761f1 build(aio): add metadata aliases for directives, components and pipes ()
This change will enable people to link to the API docs via their selectors
or names, as used in a template.

Since the selectors can be quite complex we are not able to get 100%
accuracy.

Closes 
2017-09-25 12:00:05 -07:00
Pete Bacon Darwin
97e02c2fa0 build(aio): render class/interface "descendants" in API docs ()
For classes, the tree of subclasses is rendered, recursively.

For interfaces, the descendants are separated into child interfaces, which
extend the interface, and classes, which implement the interface.

Closes 
2017-09-25 11:59:44 -07:00
Pete Bacon Darwin
4ae546be1f build(aio): ensure decorators with shared interface types are found ()
Closes 
2017-09-25 11:59:21 -07:00
Jesus Rodriguez
9bbf009dff build(aio): change examples to CLI ()
PR Close 
2017-09-21 17:05:54 -07:00
Chuck Jazdzewski
f96142cd7c build: remove references to tsc-wrapped ()
With this commit `ngc` is used instead of `tsc-wrapped` for
collecting metadata and tsickle rewriting and `tsc-wrapped`
is removed from the repository.

`@angular/tsc-wrapped@5` is now deprecated and is no longer
used, updated, or maintained as part as of Angular 5.x.x.

`@angular/tsc-wrapped@4` is still maintained and required by
Angular 4.x.x and will be maintained as long as 4.x.x is in
LTS.

PR Close 
2017-09-21 13:55:52 -07:00
Peter Bacon Darwin
4c73b52d5c docs(aio): tidy up tooling documentation ()
PR Close 
2017-09-21 10:00:37 -07:00
Jesus Rodriguez
48cd503d4a docs(aio): applying some feedback ()
PR Close 
2017-09-21 10:00:37 -07:00
Jesus Rodriguez
ba20e3bed0 docs(aio): add zipper documentation ()
PR Close 
2017-09-21 10:00:36 -07:00
Jesus Rodriguez
6f7aa466ae docs(aio): complete the plunker-builder docs ()
PR Close 
2017-09-21 10:00:36 -07:00
Jesus Rodriguez
e6c612f5cd docs(aio): add boilerplate readme ()
PR Close 
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
4530654501 docs(aio): high-level documentation of the transforms folder ()
PR Close 
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
28a80e6e05 docs(aio): high-level documentation of AIO tooling ()
PR Close 
2017-09-21 10:00:36 -07:00
Peter Bacon Darwin
381e680758 build(aio): improve error message for ignored example files ()
Addresses https://github.com/angular/angular/pull/18707#issuecomment-330396771

PR Close 
2017-09-20 12:36:14 -07:00
Peter Bacon Darwin
988b9f8378 build(aio): remove commented out code ()
PR Close 
2017-09-20 12:36:14 -07:00
Peter Bacon Darwin
9ab9437319 build(aio): auto-link more code items
We now parse all code blocks, after they have been rendered by dgeni
and insert links to API docs that match "words" in the code.
2017-09-12 13:58:43 -04:00
Peter Bacon Darwin
a2b50ec8c9 build(aio): do not render annotations block for directives 2017-09-12 13:56:21 -04:00
Peter Bacon Darwin
77d24afea3 build(aio): improve rendering of directive selectors 2017-09-12 13:55:54 -04:00
Peter Bacon Darwin
39386eadea build(aio): do not render comments in decorators
Closes 
2017-09-12 13:52:02 -04:00
Ward Bell
112e777b90 build(aio): update karma & systemjs config for HttpClient
While adding the references to the `HttpClient` packages it also crucially
adds ref to new “tslib” library required by `HttpClient`.
2017-09-08 19:31:15 -04:00
Ward Bell
a176cd646c build(aio): update package.json for angular-in-mem-web-api 0.4.0 2017-09-08 17:05:57 -04:00
Peter Bacon Darwin
bd928f3dcc build(aio): render metadata members from decorator ancestors 2017-09-08 17:04:36 -04:00
Peter Bacon Darwin
e78402dd4c build(aio): render ancestor members in directives
See `CheckBoxRequiredValidator` for an example.
2017-09-08 17:04:28 -04:00
Peter Bacon Darwin
917d0870e8 build(aio): don't show constructor detail if there is none 2017-09-08 13:21:16 -04:00
Pete Bacon Darwin
3c480e4e63 build(aio): support rendering of constructor overloads in API docs ()
Closes 
2017-09-06 10:14:02 -07:00
Peter Bacon Darwin
35bc1eb218 build(aio): render the extends ancestors of classes in API docs ()
PR Close 
2017-09-05 15:33:10 -05:00
Peter Bacon Darwin
dc7de0896c build(aio): ensure dgeni can load all angular Typescript modules ()
PR Close 
2017-09-05 15:33:10 -05:00
Peter Bacon Darwin
b8a3736275 build(aio): do not auto-link code elements already inside a link ()
Closes 

PR Close 
2017-08-18 17:13:16 -05:00
George Kalpakas
7f2037f0b6 test(aio): fix running docs examples against local builds ()
This commit also updates the version of `@angular/cli` used for docs examples.
The previous (transient) dependency `@ngtools/webpack` was not compatible with
`@angular/compiler-cli@>=5` and was breaking when running against the local
builds (currently at 5.0.0-beta.2). The version of `@ngtools/webpack` used by
the latest `@angular/cli` version is compatible with `@angular/compiler-cli@5`.
2017-08-09 14:21:10 -07:00
Filipe Silva
9adf40aa77 build(aio): use cli 1.3.0-rc () 2017-08-02 15:37:03 -07:00
Georgios Kalpakas
cc2a4c41f9 build(aio): fix warning about missing <h1>
Fixes 
2017-07-31 13:40:07 -07:00
Georgios Kalpakas
d71ae278ef fix(aio): fix links to source for paths with symlinks
Fixes 
2017-07-28 15:28:59 -07:00
Peter Bacon Darwin
a085223331 ci(aio): test the example e2e files using local build of Angular 2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
c8c2ab012a build(aio): support overriding the Angular packages in examples with locally built ones 2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
ecff8e6c93 build(aio): refactor and test the example-boilerplate tool 2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
a5e18c4cdf ci(aio): support sharding of example e2e tests 2017-07-28 15:28:28 -07:00
Jesus Rodriguez
b582e2b311 docs(aio): update examples to 4.3 2017-07-25 15:32:38 -07:00
Filipe Silva
8bcb268140 ci: use chrome stable () 2017-07-25 11:18:24 -07:00
WilliamKoza
36faba1aab fix(aio): add quote to module 2017-07-18 17:48:04 +01:00
Peter Bacon Darwin
c453b7bcfa build(aio): fail doc-gen if referenced images are missing 2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
758848961e build(aio): abort doc-gen on dangling links 2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
99b666614d build(aio): abort doc-gen if an example is missing
Closes 
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
0bf0c35bca build(aio): render type parameters of API function exports
Fixes 
2017-07-15 08:52:35 +01:00
Alex Rickabaugh
db96c963a8 fix(aio): add <hr> in between overloads 2017-07-13 14:58:33 -07:00
Peter Bacon Darwin
ffda3e41e0 build(aio): simplify the primary overload's anchor
The primary link to a member should simply be its name, and not require
the parameter list.
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
a301dba68f build(aio): improve API docs layout and styling 2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
04f3a4a7a5 build(aio): fix githubLinks line numbers
The API docs have changed. The line numbers are now found in
`startingLine` and `endingLine` properties rather than the `location`
property, which moved into the `fileInfo` property anyway.
2017-07-13 12:16:20 -07:00