Document autosummary template variable "objtype" (#11044)

This commit is contained in:
Tim Hoffmann
2023-01-02 19:38:17 +01:00
committed by GitHub
parent 94e6e3917f
commit ec26c2f874

View File

@@ -271,6 +271,12 @@ The following variables are available in the templates:
Full name of the documented object, including module and class parts.
.. data:: objtype
Type of the documented object, one of ``"module"``, ``"function"``,
``"class"``, ``"method"``, ``"attribute"``, ``"data"``, ``"object"``,
``"exception"``, ``"newvarattribute"``, ``"newtypedata"``, ``"property"``.
.. data:: module
Name of the module the documented object belongs to.