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

Independent code comments separate from regular css comments #87

Closed
tgdev opened this issue Jul 24, 2015 · 2 comments
Closed

Independent code comments separate from regular css comments #87

tgdev opened this issue Jul 24, 2015 · 2 comments

Comments

@tgdev
Copy link

tgdev commented Jul 24, 2015

Sassdown is great however, if I have a regular css comment (/* ... */) in either a sass partial file I've created or a 3rd party sass partial I'm importing, sassdown assumes this is a module for the styleguide.

The two should be independent of each other with regular css comments being ignored by sassdown.

@winstromming
Copy link
Owner

If regular (block-level) CSS comments are ignored by Sassdown, this would make it significantly more difficult to author longer and more detailed descriptions, examples, and notes in partials.

Two things:

  1. Don't forget that you can define your own opening and closing comment syntax for Sassdown to parse. See the Grunt options in the README.
  2. You can also use the glob array in files to exclude certain filenames or directories, if there is code you wish to ignore.

Unless either of the two solutions presents a problem, I'm closing this ticket.

@tgdev
Copy link
Author

tgdev commented Jul 25, 2015

Yes it's fine to close this ticket. My apologies as I had overlooked the option to specify the opening and closing comment syntax.

@tgdev tgdev closed this as completed Jul 25, 2015
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

2 participants