mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #3174: [Napoleon] Defers autodoc-skip-member to other extensions if Napoleon doesn't care if the member is skipped
This commit is contained in:
@@ -446,6 +446,11 @@ member should be included in the documentation by using the following event:
|
||||
documentation. The member is excluded if a handler returns ``True``. It is
|
||||
included if the handler returns ``False``.
|
||||
|
||||
If more than one enabled extension handles the ``autodoc-skip-member``
|
||||
event, autodoc will use the first non-``None`` value returned by a handler.
|
||||
Handlers should return ``None`` to fall back to the skipping behavior of
|
||||
autodoc and other enabled extensions.
|
||||
|
||||
:param app: the Sphinx application object
|
||||
:param what: the type of the object which the docstring belongs to (one of
|
||||
``"module"``, ``"class"``, ``"exception"``, ``"function"``, ``"method"``,
|
||||
|
||||
Reference in New Issue
Block a user