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

Alternative comments style #467

Closed
herzinger opened this issue Oct 12, 2016 · 3 comments
Closed

Alternative comments style #467

herzinger opened this issue Oct 12, 2016 · 3 comments

Comments

@herzinger
Copy link

Hi. I use, contribute to and am quite passionate about inuitcss.

It is heavily commented, but has almost no proper documentation apart from that, so something like sassdoc would be amazingly useful. That being said, it was ruled out by the core team members, the main reason being:

The commenting style of SassDoc is a Sass comment, hence it doesn't get printed in the compiled CSS. We actually do want this to be the case, so we are using CSS comments where appropriate and Sass comments, where it must not be printed to the compiled CSS.

Not only that, but they have a very particular set of guidelines for the commenting style.

Is there a way to work around this issue? And if not, can I have some advice on how to go about hacking this in a fork of my own?

@pascalduez
Copy link
Member

Hi,

if you're fine with forks:

https://github.com/SassDoc/scss-comment-parser/blob/master/index.js#L191

var extractor = new CDocParser.CommentExtractor(scssContextParser, { blockComment: false});

Change to:

var extractor = new CDocParser.CommentExtractor(scssContextParser);

@herzinger
Copy link
Author

@pascalduez thanks, I'll give it a try!

@KittyGiraudel
Copy link
Member

I’m closing this. ;)

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

No branches or pull requests

3 participants