class documentation
class MethodDocumenter(DocstringSignatureMixin, ClassLevelDocumenter): (source)
Specialized Documenter subclass for methods (normal, static and class).
Class Method | can |
Called to see if a member can be documented by this Documenter. |
Method | add |
Add the directive header and options to the generated content. |
Method | annotate |
Annotate type hint to the first argument of function if needed. |
Method | document |
Generate reST for member documentation. |
Method | format |
Format the argument signature of *self.object*. |
Method | format |
Format the signature (arguments and return annotation) of the object. |
Method | get |
Decode and return lines of the docstring(s) for the object. |
Method | import |
Import the object given by *self.modname* and *self.objpath* and set it as *self.object*. |
Method | merge |
Merge default values of actual implementation to the overload variants. |
Class Variable | directivetype |
Undocumented |
Class Variable | objtype |
Undocumented |
Class Variable | priority |
Undocumented |
Instance Variable | member |
Undocumented |
Inherited from DocstringSignatureMixin
:
Instance Variable | args |
Undocumented |
Instance Variable | retann |
Undocumented |
Method | _find |
Undocumented |
Instance Variable | _new |
Undocumented |
Instance Variable | _signatures |
Undocumented |
Inherited from ClassLevelDocumenter
(via DocstringSignatureMixin
):
Method | resolve |
Resolve the module and name of the object to document given by the arguments and the current module/class. |
Inherited from Documenter
(via DocstringSignatureMixin
, ClassLevelDocumenter
):
Method | __init__ |
Undocumented |
Method | add |
Add content from docstrings, attribute documentation and user. |
Method | add |
Append one line of generated reST to the output. |
Method | check |
Check if *self.object* is really defined in the module given by *self.modname*. |
Method | filter |
Filter the given member list. |
Method | format |
Format the name of *self.object*. |
Method | generate |
Generate reST for the object given by *self.name*, and possibly for its members. |
Method | get |
getattr() override for types such as Zope interfaces. |
Method | get |
Return `(members_check_module, members)` where `members` is a list of `(membername, member)` pairs of the members of *self.object*. |
Method | get |
Get the real module name of an object to document. |
Method | get |
Undocumented |
Method | parse |
Determine what module to import and what attribute to document. |
Method | process |
Let the user process the docstrings before adding them. |
Method | sort |
Sort the given member list. |
Class Variable | content |
Undocumented |
Class Variable | option |
Undocumented |
Class Variable | titles |
Undocumented |
Instance Variable | analyzer |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | directive |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | fullname |
Undocumented |
Instance Variable | indent |
Undocumented |
Instance Variable | modname |
Undocumented |
Instance Variable | module |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | object |
Undocumented |
Instance Variable | object |
Undocumented |
Instance Variable | objpath |
Undocumented |
Instance Variable | options |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | real |
Undocumented |
Property | documenters |
Returns registered Documenter classes |
Method | _call |
Undocumented |