README

tl;dr

What?

sphinxgen is used to generate files from python packages and modules found in a specified set of directories. It is intended for generating sphinx autodoc stub files, but can be used for other purposes. Files are generated using jinja templates to provide maximum flexbility. You can use a set of built-in templates, or provide your own.

Install?

Install with pip:

$ pip install sphinxgen

Or, from source:

$ python setup.py install

Examples?

> sphinxgen -o sphinx/source src/python/my_package src/python/my_other_package

You can also use it as a setuptools command:

#setup.cfg

[sphinxgen]
package_dirs = src/python/my_package,src/python/my_other_package
output = sphinx/source
> setup.py sphinxgen

Dependencies?

sphinxgen is developed against python version 2.7.

Other dependencies are handled by pip.

For building the docs from source with sphinx, you will need the packages listed under sphinx/requirements.pip.

Misc.

Contact Information

This project is currently hosted on bitbucket, at https://bitbucket.org/bmearns/sphinxgen. The primary author is Brian Mearns, whom you can contact through bitbucket at https://bitbucket.org/bmearns.