angular-cn/tools/docs/angular.io-package
Pete Bacon Darwin d4ffa47ea6 fix(aio): correctly render decorator docs (#14328)
This commit updates the doc-gen to account
for the changes to the codebase for decorators.

There are actually three kinds of calls that create decorators:

* makeDecorator
* makePropDecorator
* makeParamDecorator

Also, the actual documentation for each
decorator is split between two exported symbols:

* `interface [DecoratorName]` contains the metadata fields
* interface [DecoratorName]Decorator` contains a
  "call member" which holds the general description of the decorator.

This processor now identifies all three decorator types, and pulls the
description of the callMember onto the main decorator doc description.

(There are some outstanding interfaces in the angular/angular project that
need to be re-exported from `/angular/modules/@angular/core/src/metadata.ts`
to ensure that the doc-gen is able to access them.)

Closes https://github.com/angular/angular.io/pull/2349
2017-02-07 00:04:25 -08:00
..
inline-tag-defs build(aio): support guide authoring 2017-02-06 12:08:57 -08:00
mocks build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08:00
processors fix(aio): correctly render decorator docs (#14328) 2017-02-07 00:04:25 -08:00
rendering build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08:00
tag-defs build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08:00
ignore.words build(aio): move doc-gen stuff from angular.io (#14097) 2017-01-26 23:46:59 -08:00
index.js build(aio): support guide authoring 2017-02-06 12:08:57 -08:00