Sphinx seems to be ignoring imports in autodoc'ed modules.
doc/conf.py excerpt
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
sys.setrecursionlimit(1500)
doc/code.rst
Auto Generated Documentation
============================
Utils
-----
.. automodule:: myproject.utils
:members:
myproject/utils/__init__.py
from data import *
from hashing import *
from redis import *
from cookie import *
from route import *
def method_whose_docstring_is_picked_up(string):
"""I'm being autodoc'ed. =)
"""
None of the classes or functions from X import Y are being autodoc'ed. Anything directly in the __init__.py
is being picked up just not the imports. I tried explicitly importing each object but that didn't resolve anything.