sphinx_autodoc_debug minimal example for bad error messages. Run make to see the badness. Remove the numpydoc extension in source/conf.py to see a better error message.