styleguide
Dynamically build KSS-based styleguides
Installation
$ npm install styleguide
Help
$ ./bin/styleguide --help
Run
$ ./bin/styleguide -c [location of CSS files] -h [location of HTML partials] -d [location of data files] -o [output location]
Use it with Grunt
File Name Conventions
Running the styleguide will look for KSS comments in your SCSS (CSS) partials. It will then look for matching HTML (Handlebars) and data (YML) files.
For example: css/ _header.scss (contains KSS style block)
partials/
_header.hbs (contains markup)
data/
_header.yml (contains data for the Handlebars template)
Legal Stuff
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.