Add the following to conf.py :
def remove_module_docstring(app, what, name, obj, options, lines): if what == "module" and name == "yourmodule": del lines[:] def setup(app): app.connect("autodoc-process-docstring", remove_module_docstring)
This code removes the docstring module of yourmodule module by providing an autodoc-process-docstring event handler.
source share