This is the DNSimple API documentation built with nanoc.
Ruby 1.9 is required to build the site, all the dependencies are managed using Bundler.
$ git clone https://github.com/aetrion/developer.dnsimple.com.git dnsimple-developer
$ cd dnsimple-developer
$ bundle
For a list of nanoc
commands type
$ nanoc --help
nanoc
ships with an autocompiler that automatically compiles changed files on every HTTP request.
$ nanoc aco
Running on http://0.0.0.0:3000/
[2012-09-26 15:07:52] INFO WEBrick 1.3.1
[2012-09-26 15:07:52] INFO ruby 1.9.2 (2012-04-20) [x86_64-darwin12.1.0]
[2012-09-26 15:07:52] INFO WEBrick::HTTPServer#start: pid=23121 port=3000
To publish the site run
$ rake publish
The task compiles the site, commits it to the gh-pages
branch and pushes the commit to GitHub.