I use nanoc3 along with docutils (via sphinx installation) to provide good support for restructured text in a static site generator. I have reviewed (and would like to use) a pure python (hyde) solution, but nanoc allows you to use cleaner ReST source files.
I also considered using sphinx to create a static site, but it is not so easy to do without forcing a lot of code to support it.
I will be happy to tell you how to do this if you have an interest in this topic. It mainly uses docutils to output html from the original source. I have a simple nanom processor that does this:
module Nanoc3::Filters class ReST < Nanoc3::Filter identifier :rest def run(content, params={}) open('|rst2html.py --template=rest.template', 'r+') do |io| io.write(content) io.close_write io.read end end end end
The rest.template file is basically a dummy template with the following line:
%(body)s
source share