43 Commits

Author SHA1 Message Date
Peter Bacon Darwin
dbe6cdad7e build(aio): improve accessor rendering ()
Includes an update to `dgeni-packages@0.22.0` which provides more info
about accessors if required.

PR Close 
2017-10-11 11:51:42 -07:00
Peter Bacon Darwin
9783c92935 build(aio): fix various API rendering issues
Upgrading to dgeni-packages 0.21.4 gives us
access to more properties on the API docs, which
allows us to fix the following issues:

Closes 
Closes 
Closes 
2017-10-03 08:15:02 -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
Peter Bacon Darwin
4c73b52d5c docs(aio): tidy up tooling documentation ()
PR Close 
2017-09-21 10:00:37 -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
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
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
Georgios Kalpakas
d71ae278ef fix(aio): fix links to source for paths with symlinks
Fixes 
2017-07-28 15:28:59 -07:00
WilliamKoza
36faba1aab fix(aio): add quote to module 2017-07-18 17:48:04 +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
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
Peter Bacon Darwin
f06ce9adc8 build(aio): truncate API overview parameters at one line 2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
be3352a084 build(aio): render grouped overloads 2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
998049ec9b build(aio): truncate API overview parameters at one line 2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
470a7c6bcd build(aio): use dedicated overview for decorator API docs 2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
3abf208235 build(aio): update doc-gen templates 2017-07-11 11:44:05 +01:00
George Kalpakas
65d49d5c94 fix(aio): temporarily remove link to source from the API pages ()
We need to come up with a better design (possibly involving an icon button) to
link to the source code (for viewing and/or editing).

Fixes 
2017-06-09 14:14:39 -07:00
Peter Bacon Darwin
d5ce086089 build(aio): fix up API doc-gen templates
* Remove whitespace before type specifiers
* Generate `new` and `call` member info for interfaces
* Ensure that there is no double space after class names
2017-06-02 13:18:09 -04:00
Peter Bacon Darwin
cb2cb7c3bd build(aio): display "call" and "new" members of interfaces in API docs 2017-05-31 08:45:50 +03:00
Pete Bacon Darwin
7b4a8d53a7 build(aio): remove "pure" property from pipe template ()
This information is not relevant to users, right now.

Closes 
2017-05-09 15:44:10 -07:00
Stefanie Fluin
d27588b5fb feat(aio): api label styles
- Moved info bar section in pipe template to be the first section to match other templates
- Fixed label styling for type label
- Added label styling for status label
2017-05-05 11:04:55 +01:00
Peter Bacon Darwin
8760bf7be4 build(aio): fix paths to template macros in overview-dump template 2017-05-03 13:30:11 -07:00
Peter Bacon Darwin
ea02073c84 build(aio): mark API docs as not having a TOC 2017-05-03 13:30:11 -07:00
Peter Bacon Darwin
b051d7ff48 build(aio): refactor API templates for clean start 2017-05-03 13:30:11 -07:00
Stefanie Fluin
04dc24820d feat(aio): comment cleanup, API table styles
- API table styling
- Cleanup on resource page comments
2017-05-02 10:57:54 -07:00
Peter Bacon Darwin
235eb17cca build(aio): improve info-bar template
The "npm module" and "NgModule" are now rendered correctly.

Closes 
2017-05-01 15:51:03 -07:00
Stefanie Fluin
bb52e22ecf feat(aio): api pages styling
- Banner class code consolidation for API pages
- Set up temporary table of contents class and file
- API pages title styling
- Add color styling to doc-type listed on each API details page
- Classes and SCSS variables refactor
- Mobile optimization on headers, info-banner, and API pages
- API page table custom styling
- API Class Overview template code overview into table format
2017-04-26 14:31:54 +01:00
Peter Bacon Darwin
1762047bc0 build(aio): fix other dgeni templates
The function and interface templates were overriding the
wrong block.
2017-04-25 07:35:34 +01:00
Peter Bacon Darwin
9a4c8d543d build(aio): fix rendering of Decorator API docs
The templates were a bit out and we were not merging the
correct properties.

Added some docs and tests for the processor.

Related to 
2017-04-25 07:35:34 +01:00
Stefanie Fluin
64ef69fb34 feat(aio): api page column layout 2017-04-25 06:51:04 +01:00
Stefanie Fluin
cf034f759a feat(aio): api page styles
Changed description from h3 to h2 to match the other header
Created api page classes for consistent styling
Add styles for info-bar section
Wrapped pre tags for code not to go off of screen
2017-04-21 16:24:37 +01:00
Peter Bacon Darwin
648de7dd86 build(aio): render titles correctly in content pages
If a document provided a title jsdoc tag then its h1
element was being rendered incorrectly as a markdown
paragraph.

This change renders the title as a markdown h1 tag
directly.

Fixes 
2017-04-19 10:42:38 +01:00
Peter Bacon Darwin
7165eb15bd build(aio): add div with class around content
Closes 
2017-04-17 13:43:42 +01:00
Peter Bacon Darwin
abecf3eb6d build(aio): move the transforms folder into the tools folder 2017-04-16 22:05:23 +01:00