A Cat Barcamp presentation demo code thing.
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python ssg.py <rst file> <jinja template file>
ssg.py is a very simple static site (static page really) generator. Pass it a content.rst
file and a template.jinja
(or whatever you want to call your content and template files) and it produces an index.html
file.
Included in this repo are the content files, the script, the template, the requirements file, and the produced index.html file from running the script.