Closed chicao closed 4 years ago
Given the sphinx documentation, the auto-discovery is not a supported feature yet. Since the __init__.py explicitly import the refactored modules, we must add the imported-members directive into the RST file.
__init__.py
imported-members
http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_default_options
Given the sphinx documentation, the auto-discovery is not a supported feature yet. Since the
__init__.py
explicitly import the refactored modules, we must add theimported-members
directive into the RST file.http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_default_options