CSS documentation generator
A small Ruby executable (shell) script to generate HTML documentation for CSS files.
- It takes a .css file
- Takes all comments in Markdown format and generates a HTML
- There are no proper CSS documenting tools.
- It is more straightforward to document your frontend code in CSS than in HTML
Comment your CSS as usual but use Markdown instead of plain text.
/* documentation line 1 documentation line 2 */
Inline comments are ignored to make the final output more readable.
/* This comment in your CSS will be ignored ! */
cssd on your CSS file. It will generate a HTML file named as your CSS.
base.html files. The first was the input, the second the output.