kss icon indicating copy to clipboard operation
kss copied to clipboard

Documenting nested classes example?

Open nijikokun opened this issue 13 years ago • 2 comments

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.

nijikokun avatar Feb 05 '13 23:02 nijikokun

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

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

rsahlstrom avatar Feb 05 '13 23:02 rsahlstrom

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?

nijikokun avatar Feb 05 '13 23:02 nijikokun