Automatically document all modules recursively with Sphinx autodoc

You can check this script that I’ve made. I think it can help you.

This script parses a directory tree looking for python modules and packages and creates ReST files appropriately to create code documentation with Sphinx. It also creates a modules index.


This script is now part of Sphinx 1.1 as apidoc.

Leave a Comment