question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Option to disable warnings

See original GitHub issue

Hi 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:closed
  • Created 7 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
pascalduezcommented, Mar 24, 2017

@mhartington should be fixed now, sorry about that.

0reactions
jacksboxcommented, Aug 22, 2018

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])

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found