Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

[superseded] chore(api doc gen): reduce false positives #1846

Closed
wants to merge 1 commit into from

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Jul 7, 2016

DO NOT MERGE. Superseded by #1849, #1860.

See Patrice comment below. He is keeping it open until he extracts all useful material.

Original description

  • Don't report ambiguous links for deprecated modules; instead resolve
    them by default to their respective modules. E.g., {@link NgControl}
    will resolve to the type in @angular/common/src/forms-deprecated when
    referenced from with forms-deprecated and to the type in
    @angular/forms when referenced within forms.
  • Missing API docs are now reported at log-level 'info' rather than 'warn'.
  • Don't warn about issues that are due to bug
    Support "import x as y" dgeni-packages#192.

@chalin
Copy link
Contributor Author

chalin commented Jul 7, 2016

As of this commit (and once angular/angular#9873 gets merged on the ng side), there are no more warnings issued when generating the API docs. To try it out yourself use either one of these commands:

gulp build-api-docs --dgeni-log=warn
gulp build-api-docs --silent

@wardbell @Foxandxss : ready for review.
cc: @kwalrath @naomiblack

@chalin
Copy link
Contributor Author

chalin commented Jul 7, 2016

Oh, this PR is built atop (though it is independent of) #1833. It just means that #1833 should be merged in first. I kept #1833 because @petebacondarwin gave some feedback on it, and I didn't want to loose a trace of that.

@chalin chalin force-pushed the chalin-chore-api-doc-gen-0707 branch from 7817f71 to 69d6c08 Compare July 7, 2016 22:36
- Don't report ambiguous links for deprecated modules; instead resolve
them by default to their respective modules. E.g., `{@link NgControl}`
will resolve to the type in `@angular/common/src/forms-deprecated` when
referenced from with `forms-deprecated` and to the type in
`@angular/forms` when referenced within `forms`.
- Missing API docs are now reported at log-level 'info' rather than
'warn'.
- Don't warn about issues that are due to bug
angular/dgeni-packages#192.
@chalin chalin force-pushed the chalin-chore-api-doc-gen-0707 branch from 69d6c08 to 8e28098 Compare July 8, 2016 04:57
@chalin chalin changed the title chore(api doc gen): reduce false positives [WIP] chore(api doc gen): reduce false positives Jul 8, 2016
@chalin
Copy link
Contributor Author

chalin commented Jul 8, 2016

Superseded by #1849, #1860.
(One more feature it to be excerpt before closing.)

@chalin chalin closed this Jul 12, 2016
@chalin chalin changed the title [WIP] chore(api doc gen): reduce false positives [superseded] chore(api doc gen): reduce false positives Jul 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants