It works if you add an __all__
list to the __init__.py
files. For example:
"""The __init__ docstr"""
__all__ = ['func1', 'func2']
from m1 import *
from m2 import *
More Related Contents:
- Sphinx’s autodoc’s automodule having apparently no effect
- How do I document classes without the module name?
- Sphinx autodoc is not automatic enough
- Override function declaration in autodoc for sphinx
- Sphinx cannot find my python files. Says ‘no module named …’
- Can sphinx link to documents that are not located in directories below the root document?
- How do I document classes imported from other modules – hence without the declaration module’s name?
- Automatically document all modules recursively with Sphinx autodoc
- How to add custom css file to Sphinx?
- sphinx-build fail – autodoc can’t import/find module
- How do I output a config value in a Sphinx .rst file?
- sphinx.ext.autodoc: Keeping names of constants in signature
- Keeping the API updated in Sphinx
- How to preserve line breaks when generating python docs using sphinx
- How to force Sphinx to use Python 3.x interpreter
- How to document Python packages using Sphinx
- Customize sphinxdoc theme
- How to express multiple types for a single parameter or a return value in docstrings that are processed by Sphinx?
- How would I cross-reference a function generated by autodoc in Sphinx?
- How to sum all range output in python 3
- How to map dict into another dict Python
- join list of lists in python [duplicate]
- Pandas cannot open an Excel (.xlsx) file
- Pandas fill missing values in dataframe from another dataframe
- How can I generate a list of consecutive numbers?
- Slicing a numpy array along a dynamically specified axis
- Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”
- Why can’t Python increment variable in closure?
- Why/When in Python does `x==y` call `y.__eq__(x)`?
- Can I perform dynamic cumsum of rows in pandas?