kneath / kss

A methodology for documenting CSS and generating styleguides.
warpspire.com/kss
MIT License
4.04k stars 275 forks source link

Documenting nested classes example? #63

Open nijikokun opened 11 years ago

nijikokun commented 11 years ago

There is no examples showing how nested classes in languages such as LESS / SCSS / Stylus should be documented.

I assume you just do the same for the parent class, but should there be a parent annotation for this for pure CSS?

These are just some basic questions that come up when documenting, but there are even more the further you go; These two should clear up most of that confusion.

rsahlstrom commented 11 years ago

There's an example of this in the test/fixtures folders.

https://github.com/kneath/kss/blob/master/test/fixtures/scss/nested.scss

nijikokun commented 11 years ago

I did not know this existed, this should be in the main documentation or a side-note linking to this somewhere.

Also, header blocks for a master.[ext] that imports all?