Option to disable warnings
See original GitHub issueHi there!
We use sassdoc for the ionic source code and had a question regarding some warnings.
When it tried to parse a file without any doc content, we get warnings like this:
» [WARNING] SassDoc could not find anything to document.
* Are you still using `/**` comments ? They're no more supported since 2.0.
See <http://sassdoc.com/upgrading/#c-style-comments>.
* Are you documenting actual Sass items (variables, functions, mixins, placeholders) ?
SassDoc doesn't support documenting CSS selectors.
See <http://sassdoc.com/frequently-asked-questions/#does-sassdoc-support-css-classes-and-ids->.
As not all of our sass files require documentation, we were wondering if it’s possible to disable the warnings, as they tend to get pretty noisy.
I took a look at the docs and there doesn’t seem to be an option for this, unless I missed it?
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
Warning Options (Using the GNU Compiler Collection (GCC))
3.8 Options to Request or Suppress Warnings. Warnings are diagnostic messages that report constructions that are not inherently erroneous but that are risky ......
Read more >Selectively remove a warning message using GCC
To answer your question about disabling specific warnings in GCC, you can enable specific warnings in GCC with -Wxxxx and disable them with...
Read more >4.8. Options to Request or Suppress Warnings
Options to Request or Suppress Warnings. Warnings are diagnostic messages that report constructions which are not inherently erroneous but which are risky ...
Read more >Options to Request or Suppress Warnings
You can request many specific warnings with options beginning with '-W'; for instance, use '-Wimplicit' to request warnings on implicit declarations.
Read more >How to Disable a Warning in C++
To disable a set of warnings for a given piece of code, you have to start with a “push” pre-processor instruction, then with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mhartington should be fixed now, sorry about that.
using
sassdoc@2.5.0
I still see this warning by default. In my usecase sassdoc runs twice, once with a custom template (which has a parser for the custom annotation) and once with the default template (which logs the[WARNING]
)