embed pictures generated from python code into your sphinx documentation
Latest commit 1d98bec Sep 22, 2011 @timo implement latex output.
Failed to load latest commit information.
sphinxcontrib implement latex output. Sep 22, 2011
.gitignore add a gitignore. Sep 22, 2011
README the link wasn't a link yet. Sep 22, 2011
setup.py implement latex output. Sep 22, 2011


This package adds the proceduralimage directive to Sphinx_.

.. _Sphinx: http://sphinx.pocoo.org/

It allows a python code snippet to be supplied, that generates an image, that
will be included in the documentation.

It adds a single directive, `proceduralimage`. It takes a block of python
code, executes the code and extracts the local variables `image_data` and
`alt`. image_data will be saved to a .png in _images and embedded and
the alt variable will be used as the images alt tag.


The code is based almost entirely on sphinx.ext.graphviz.