Generating style guides

Sooner or later everyone wish they’d documented their code half a year ago. Generating automatic styleguides from your comments and code in your CSS is pretty magic and serves not only as documentation but ensures consistency in your code and style.

Here are three tools that will do just that:

  • KSS (compiles with Ruby - used by Github)
  • Hologram (compiles with Ruby and is my favorite)
  • Styledocco (compiles with node.js - write in markdown/html)
  • @todo: find a way to generate these on build with Grunt.

(last updated 2013)

Getting help