@@ -1378,7 +1378,7 @@ Docstring preprocessing
13781378
13791379autodoc provides the following additional events:
13801380
1381- .. event :: autodoc-process-docstring (app, what , name, obj, options, lines)
1381+ .. event :: autodoc-process-docstring (app, obj_type , name, obj, options, lines)
13821382
13831383 .. versionadded :: 0.4
13841384
@@ -1387,9 +1387,9 @@ autodoc provides the following additional events:
13871387 can modify **in place ** to change what Sphinx puts into the output.
13881388
13891389 :param app: the Sphinx application object
1390- :param what : the type of the object which the docstring belongs to (one of
1391- ``'module' ``, ``'class' ``, ``'exception' ``, ``'function' ``, ``'method ' ``,
1392- ``'attribute' ``)
1390+ :param obj_type : the type of the object which the docstring belongs to (one of
1391+ ``'module' ``, ``'class' ``, ``'exception' ``, ``'function' ``, ``'decorator ' ``,
1392+ ``'method' ``, `` 'property' ``, `` ' attribute' ``, `` 'data' ``, or `` 'type ' ``)
13931393 :param name: the fully qualified name of the object
13941394 :param obj: the object itself
13951395 :param options: the options given to the directive: an object with attributes
@@ -1409,7 +1409,7 @@ autodoc provides the following additional events:
14091409 :param obj: the object itself
14101410 :param bound_method: a boolean indicates an object is bound method or not
14111411
1412- .. event :: autodoc-process-signature (app, what , name, obj, options, signature, return_annotation)
1412+ .. event :: autodoc-process-signature (app, obj_type , name, obj, options, signature, return_annotation)
14131413
14141414 .. versionadded :: 0.5
14151415
@@ -1418,9 +1418,9 @@ autodoc provides the following additional events:
14181418 what Sphinx puts into the output.
14191419
14201420 :param app: the Sphinx application object
1421- :param what : the type of the object which the docstring belongs to (one of
1422- ``'module' ``, ``'class' ``, ``'exception' ``, ``'function' ``, ``'method ' ``,
1423- ``'attribute' ``)
1421+ :param obj_type : the type of the object which the docstring belongs to (one of
1422+ ``'module' ``, ``'class' ``, ``'exception' ``, ``'function' ``, ``'decorator ' ``,
1423+ ``'method' ``, `` 'property' ``, `` ' attribute' ``, `` 'data' ``, or `` 'type ' ``)
14241424 :param name: the fully qualified name of the object
14251425 :param obj: the object itself
14261426 :param options: the options given to the directive: an object with attributes
@@ -1439,17 +1439,17 @@ needed docstring processing in event :event:`autodoc-process-docstring`:
14391439.. autofunction :: cut_lines
14401440.. autofunction :: between
14411441
1442- .. event :: autodoc-process-bases (app, name, obj, options , bases)
1442+ .. event :: autodoc-process-bases (app, name, obj, _unused , bases)
14431443
14441444 Emitted when autodoc has read and processed a class to determine the
14451445 base-classes. *bases * is a list of classes that the event handler can
14461446 modify **in place ** to change what Sphinx puts into the output. It's
1447- emitted only if ``show-inheritance `` option given.
1447+ emitted only if the ``show-inheritance `` option is given.
14481448
14491449 :param app: the Sphinx application object
14501450 :param name: the fully qualified name of the object
14511451 :param obj: the object itself
1452- :param options: the options given to the class directive
1452+ :param _unused: unused placeholder
14531453 :param bases: the list of base classes signature. see above.
14541454
14551455 .. versionadded :: 4.1
@@ -1465,7 +1465,7 @@ Skipping members
14651465autodoc allows the user to define a custom method for determining whether a
14661466member should be included in the documentation by using the following event:
14671467
1468- .. event :: autodoc-skip-member (app, what , name, obj, skip, options)
1468+ .. event :: autodoc-skip-member (app, obj_type , name, obj, skip, options)
14691469
14701470 .. versionadded :: 0.5
14711471
@@ -1479,9 +1479,9 @@ member should be included in the documentation by using the following event:
14791479 autodoc and other enabled extensions.
14801480
14811481 :param app: the Sphinx application object
1482- :param what : the type of the object which the docstring belongs to (one of
1483- ``'module' ``, ``'class' ``, ``'exception' ``, ``'function' ``, ``'method ' ``,
1484- ``'attribute' ``)
1482+ :param obj_type : the type of the object which the docstring belongs to (one of
1483+ ``'module' ``, ``'class' ``, ``'exception' ``, ``'function' ``, ``'decorator ' ``,
1484+ ``'method' ``, `` 'property' ``, `` ' attribute' ``, `` 'data' ``, or `` 'type ' ``)
14851485 :param name: the fully qualified name of the object
14861486 :param obj: the object itself
14871487 :param skip: a boolean indicating if autodoc will skip this member if the
0 commit comments