I am trying to use the sphinx autodoc extension and specifically the automodule
directive to automatically generate documentation for django app I am working on. Th
You can reference a class like this:
class B(object):
"""docs for B with reference to :class:`.A`"""
pass
Sphinx will intelligently try and figure out what you're referencing. If there are multiple classes with the name A
, you might get a warning, but it should pick up the one in the current module.