mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add note about __module__ checking.
This commit is contained in:
parent
a011d3ae6c
commit
2571218ab9
@ -77,6 +77,13 @@ directive.
|
||||
|
||||
Boil the noodle *time* minutes.
|
||||
|
||||
.. note::
|
||||
|
||||
In an :dir:`automodule` directive with the ``members`` option set, only
|
||||
module members whose ``__module__`` attribute is equal to the module name
|
||||
as given to ``automodule`` will be documented. This is to prevent
|
||||
documentation of imported classes or functions.
|
||||
|
||||
|
||||
.. directive:: autofunction
|
||||
automethod
|
||||
|
Loading…
Reference in New Issue
Block a user