Thie package defines an extension for the Sphinx documentation system. The extension allows generation of API documentation by introspection of zope.interface instances in code.
Install via pip:
pip install repoze.sphinx.autointerfaceAdd repoze.sphinx.autointerface to the extensions list in the
conf.py of the Sphinx documentation for your product.
extensions = [
    "sphinx.ext.autodoc",
    "sphinx.ext.doctest",
    "repoze.sphinx.autointerface",
]At appropriate points in your document, call out the autodoc interface.
.. autointerface:: yourpackage.interfaces.IFooOutput from the directive includes
- the fully-qualified interface name
- any base interfaces
- the docstring from the interface, rendered as reStructuredText
- the members of the interface (methods and attributes)- For each attribute, the output includes the attribute name and its description.
- For each method, the output includes the method name, its signature, and its docstring (also rendered as reStructuredText).