In the SassDoc for Guss, which is essentially multiple libraries put together, I wanted each library to be part of its own group (making a clear separation between, say, CSS3 mixins and typography styles).
I ended up writing @group my-component a lot, since it had to be in all of the mixins / variables / functions that I documented. For example, in this file, you'll find @group typography 16 times.
To be more dry, is there something we could do about it, like a comment at the beginning of the file:
/**
* @group typography
*/
That would set the group of all the mixins/variables/functions in the file to "typography" (unless set otherwise)?
This implementation is barely a suggestion. The important part of this open ticket is the problem of code repetition, not the bit of code above.
In the SassDoc for Guss, which is essentially multiple libraries put together, I wanted each library to be part of its own group (making a clear separation between, say, CSS3 mixins and typography styles).
I ended up writing
@group my-componenta lot, since it had to be in all of the mixins / variables / functions that I documented. For example, in this file, you'll find@group typography16 times.To be more dry, is there something we could do about it, like a comment at the beginning of the file:
That would set the group of all the mixins/variables/functions in the file to "typography" (unless set otherwise)?
This implementation is barely a suggestion. The important part of this open ticket is the problem of code repetition, not the bit of code above.