Skip to content
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

Multiline comments appear in @example (should be removed?) #263

Closed
darbymanning opened this issue Feb 21, 2018 · 2 comments
Closed

Multiline comments appear in @example (should be removed?) #263

darbymanning opened this issue Feb 21, 2018 · 2 comments

Comments

@darbymanning
Copy link

I have a lot of partials in my project for numerous mixins - and these mixins contain multiline comments. Because of this, using @example to output the generated css for an individual mixin also displays these multiline comments from all of the other partials. Is there a way I can compile sass with the compressed output style so that these comments are not preserved?

I wasn't sure if this was an issue to do with sassdoc itself, but based on their describing of this issue here I suspect this may be something herman specific.

@jgerigmeyer
Copy link
Member

Thanks for reporting! Could you provide a simple example or test case?

@deap82
Copy link

deap82 commented Feb 23, 2019

Using the compressed output style does remove the multiline comments, but also makes the compiled css quite hard to read.

For now I'll probably try the trick mentioned here, to style away the comments;
#252 (comment)

Herman is awesome though! A lot better than the sassdoc standard template, which almost made me abandon sassdoc before finding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants