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
Jesús Rodríguez
818c82c2a2
chore: add README.md to each plunker
...
closes #1974
2016-08-01 12:48:04 -07:00
Eric Jimenez
cece720f47
output an audit file to keep track of documentation progress on API
2016-07-28 13:44:07 -07:00
Eric Jimenez
ca0acb6107
hide notes if none are found
2016-07-27 12:50:23 -04:00
Jesús Rodríguez
20350f4b40
chore: remove global variable at plunker-builder
...
closes #1946
2016-07-25 10:03:51 -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
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
cc689ce980
chore(api doc gen): log 'no api docs' as info not warning
...
closes #1860
There are too many undocumented interfaces to consider lack of API docs
in a source file to be worth a warning. The original author even
questions whether there should be such a warning. It is now logged at
the `info` level.
2016-07-14 14:36:50 -07:00
Peter Bacon Darwin
285ecf495f
chore(api-builder): add configurable link disambuators & put to work
...
closes #1852
Add configurable link disambuators
Add a service to disambiguate docs by module
Add a service to disambiguate docs that are deprecated
2016-07-14 14:33:55 -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
Jesús Rodríguez
4ff714c99f
refactor: some changes to plunkerBuilder
...
closes #1885
2016-07-14 14:18:20 -07:00
Patrice Chalin
86f82124d4
chore: dgeni tag defintions for ts2dart tags
...
closes #1833
New `dgeni` tag definitions for `ts2dart` tags which are currently
causing spurious warnings when generating API docs.
2016-07-11 20:14:21 -07:00
Patrice Chalin
fb9edf972e
chore: fix "Invalid example" warnings from shred map builder
...
closes #1832
The shred map (xref) builder was issuing warnings. This fix includes
- Adjustments to the shredder map builder itself so that it
understands, e.g., app-project relative example paths.
- `**/guide/glossary.jade` now (Jade) `includes` the shared parent
`glossary.jade` rather than (Harp) importing (via `partial`). This
fixes `makeExample` path issues in the glossary.
- Adjusted some `makeExample` paths that were ok for site build, but
confused the xref tool.
2016-07-11 20:10:56 -07:00
Foxandxss
8b05dd2726
chore: show new forms library via the api-builder
...
closes #1829
2016-07-05 23:35:12 -07:00