Skip to content

Put all warnings behind --show-warnings #1480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chalin opened this issue Aug 8, 2017 · 2 comments · Fixed by #1891
Closed

Put all warnings behind --show-warnings #1480

chalin opened this issue Aug 8, 2017 · 2 comments · Fixed by #1891
Labels
customer-google3 Issues originating from or important to Angular P2 A bug or feature request we're likely to work on

Comments

@chalin
Copy link
Contributor

chalin commented Aug 8, 2017

Dartdoc has a --show-warnings flag:

Generate HTML documentation for Dart libraries.

Usage: dartdoc [OPTIONS]

-h, --help                         Show command help.
    --version                      Display the version for dartdoc.
    ...
    --show-warnings                Display warnings.
   ...

Unfortunately, not all warnings are controlled by this flag, and generating the dartdocs for Angular and the Angular Components currently (always) generates lots and lots of warnings. It would be useful if these warnings were only printed when --show-warnings was provided on the command line.

cc @kwalrath

@chalin
Copy link
Contributor Author

chalin commented Aug 8, 2017

I just noticed the following option:

--[no-]verbose-warnings        Display extra debugging information and help with warnings.
                                   (defaults to on)

but using --no-verbose-warnings doesn't seem to help limit the number of warning messages printed for Angular docs.

@kwalrath kwalrath added the customer-google3 Issues originating from or important to Angular label Aug 30, 2017
@jcollins-g jcollins-g added the P2 A bug or feature request we're likely to work on label Oct 2, 2017
@jcollins-g
Copy link
Contributor

#1891 will obsolete this issue by introducing fine-grained control of warning display for dartdoc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-google3 Issues originating from or important to Angular P2 A bug or feature request we're likely to work on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants