tmanderson/kss-standalone — pull request #1 by heimojuh (2012-06-04 06:51:11+00:00)
Title: Generates css docs when only css directory given

Check the cssdocs.html in the root on how it should look like :)
The configuration pretty much happens in templates/styleguide.html where you add the

`````
<% styleguide_block '1.1', "Example Button" do %>
<% end %>
`````

blocks to suit your styles, as you need. This way you don't necessarily have to feed the sections as parameters (which I never got to work since the @output = ERB.new starts new buffer before the old one is written I guess. The old functionality is left to if ARG loop anyway.

but basically if styleguide.html is set:

`````
ruby ksss.rb
`````

does the trick for me :)

test it out dear sir!

------------------

Configurable with styleguide.html which contains header and end tags.
For some reason I cannot get the block to work in helper function,
so the example_html must be given as a parameter for now.

I try to fix that in the future, but seems so strange really.

Check readme for usage instructions
----------------