mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
#5877: Allow setting imported_members for autosummary in conf.py
This commit is contained in:
@@ -99,6 +99,12 @@ The :mod:`sphinx.ext.autosummary` extension does this in two parts:
|
||||
|
||||
.. versionadded:: 1.0
|
||||
|
||||
* You can specify to documented imported classes and functions at a module
|
||||
level using the new :confval:`autosummary_imported_members` config value.
|
||||
By default this if disabled.
|
||||
|
||||
.. versionadded:: 2.1.1
|
||||
|
||||
|
||||
:program:`sphinx-autogen` -- generate autodoc stub pages
|
||||
--------------------------------------------------------
|
||||
@@ -149,6 +155,11 @@ also use these config values:
|
||||
:confval:`autodoc_mock_imports` for more details. It defaults to
|
||||
:confval:`autodoc_mock_imports`.
|
||||
|
||||
.. confval:: autosummary_imported_members
|
||||
|
||||
A boolean flag indicating whether to document classes and functions imported
|
||||
in modules. Default is ``False``
|
||||
|
||||
Customizing templates
|
||||
---------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user