##KSSS - KSS Standalone Documentation Creation ###A command-line utility
ksss.rb takes your given CSS directory and spits out a coherent HTML document. This is, of course, using the awesome KSS parser/spec.
Using KSSS is simple, just run the file and give it your CSS directory. Optionally, you can give it the section numbers you want to include in your documentation creation. If you choose to go without sections, make sure in you use the same section number for all areas of your documentation.
> ksss.rb relative/path/to/css 1.1 1.2 2.1
###Configuration
Check the templates/styleguide for help on how to add your styles to documentation. Basically just add your styles to the file, and add blocks that call helper function like this:
<% styleguide_block '1.1', "<button class='$modifier_class'>Example Button</button>" do %>
<% end %>
First parameter to helper function call is the section, second parameter is an example block that the styles will have effect to.
The actual template which renders the helper visuals to documentation is stolen from the KSS example Sinatra application.