A middleman project template for an HTML ebook or a documentation site that needs runnable examples. Has runnable code examples, live tests using using mocha + chai, and a generated Table of Contents.
Via clone
$ git clone [email protected]:k2052/middleman-ebook.git my-project
Or
All middleman projects can be easily installed as a template for reuse
$ git clone [email protected]:k2052/middleman-ebook.git ~/.middleman/ebook
The to use it you just do:
$ middleman init -T=ebook my-project
Put a table of contents in data/toc.yml
. Other than that, just have a look around.
I'll improve the documentation here shortly!
Copyright 2013 K-2052, under the MIT licence.
The theme for this is heavily inspired by Docco's linear theme Runnable code accomplished using a modification of executr List, Menu and Doc-text icons from Entypo