pydoctor.epydoc
parsed markup into renderable content.Class | Field |
Like pydoctor.epydoc.markup.Field , but without the gross accessor methods and with a formatted body. |
Class | FieldDesc |
Combines informations from multiple Field objects into one. |
Class | FieldHandler |
No class docstring; 0/13 instance variable, 2/22 methods, 0/1 static method documented |
Class | KeywordArgument |
Encapsulate the name of kwarg parameters. |
Class | RaisesDesc |
Description of an exception that can be raised by function/method. |
Class | VariableArgument |
Encapsulate the name of vararg parameters. |
Function | extract_fields |
Populate Attributes for module/class variables using fields from that module/class's docstring. Must only be called for objects that have a docstring. |
Function | format_constant_value |
Should be only called for Attribute objects that have the Attribute.value property set. |
Function | format_desc_list |
Format list of FieldDesc . Used for param, returns, raises, etc. |
Function | format_docstring |
Generate an HTML representation of a docstring |
Function | format_field_list |
Format list of Field object. Used for notes, see also, authors, etc. |
Function | format_kind |
Transform a `model.DocumentableKind` Enum value to string. |
Function | format_summary |
Generate an shortened HTML representation of a docstring. |
Function | format_undocumented |
Generate an HTML representation for an object lacking a docstring. |
Function | get_docstring |
Undocumented |
Function | get_parsed_type |
Undocumented |
Function | get_parser |
Get the parse_docstring(str, List[ParseError], bool) -> ParsedDocstring function. |
Function | parse_docstring |
No summary |
Function | reportErrors |
Undocumented |
Function | taglink |
Undocumented |
Function | type2stan |
Undocumented |
Variable | field_name_to_kind |
Undocumented |
Class | _EpydocLinker |
No class docstring; 0/1 instance variable, 2/7 methods documented |
Function | _format_constant_value |
Undocumented |
Function | _is_none_literal |
Does this AST node represent the literal constant None? |
Parameters | |
obj:model.Documentable | Undocumented |
Attribute
objects that have the Attribute.value
property set.Parameters | |
obj:model.Attribute | Undocumented |
Returns | |
Flattenable | Undocumented |
Format list of FieldDesc
. Used for param, returns, raises, etc.
Generates a 2-columns layout as follow:
+------------------------------------+ | <label> | | <name>: <type> | <desc> | | <name>: <type> | <desc> | +------------------------------------+
If the fields don't have type or name information, generates the same output as format_field_list
:
+------------------------------------+ | <label> | | <desc ... > | +------------------------------------+
Parameters | |
label:str | Section "mini heading" |
descs:Sequence[ | FieldDesc s |
Returns | |
Iterator[ | Each row as iterator or None if no descs id provided. |
Parameters | |
obj:model.Documentable | Undocumented |
Returns | |
Tag | Undocumented |
Format list of Field
object. Used for notes, see also, authors, etc.
Generates a 2-columns layout as follow:
+------------------------------------+ | <label> | | <desc ... > | +------------------------------------+
Parameters | |
singular:str | Undocumented |
plural:str | Undocumented |
fields:Sequence[ | Undocumented |
Returns | |
Iterator[ | Each row as iterator |
Parameters | |
kind:model.DocumentableKind | Undocumented |
plural:bool | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
obj:model.Documentable | Undocumented |
Returns | |
Tag | Undocumented |
Parameters | |
obj:model.Documentable | Undocumented |
Returns | |
Tag | Undocumented |
Undocumented
Parameters | |
obj:model.Documentable | Undocumented |
Returns | |
Tuple[ | Undocumented |
Undocumented
Parameters | |
obj:model.Documentable | Undocumented |
Returns | |
Optional[ | Undocumented |
Parameters | |
obj:model.Documentable | Undocumented |
Returns | |
Callable[ | Undocumented |
Parameters | |
obj:model.Documentable | The object we're parsing the documentation for. |
doc:str | The docstring. |
source:model.Documentable | The object on which the docstring is defined. This can differ from obj if the docstring is inherited. |
Returns | |
ParsedDocstring | Undocumented |
Undocumented
Parameters | |
obj:model.Documentable | Undocumented |
errs:Sequence[ | Undocumented |
Undocumented
Parameters | |
o:model.Documentable | Undocumented |
page_url:str | Undocumented |
label:Optional[ | Undocumented |
Returns | |
Tag | Undocumented |
Undocumented
Parameters | |
obj:model.Documentable | Undocumented |
Returns | |
Optional[ | Undocumented |
Undocumented
Parameters | |
obj:model.Attribute | Undocumented |
Returns | |
Iterator[ | Undocumented |