module documentation

Convert 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 ​Field​Desc Combines informations from multiple Field objects into one.
Class ​Field​Handler No class docstring; 0/13 instance variable, 2/22 methods, 0/1 static method documented
Class ​Keyword​Argument Encapsulate the name of kwarg parameters.
Class ​Raises​Desc Description of an exception that can be raised by function/method.
Class ​Variable​Argument 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 report​Errors Undocumented
Function taglink Undocumented
Function type2stan Undocumented
Variable field​_name​_to​_kind Undocumented
Class _​Epydoc​Linker 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?
def extract_fields(obj):
Populate Attributes for module/class variables using fields from that module/class's docstring. Must only be called for objects that have a docstring.
Parameters
obj:model.DocumentableUndocumented
def format_constant_value(obj):
Should be only called for Attribute objects that have the Attribute.value property set.
Parameters
obj:model.AttributeUndocumented
Returns
FlattenableUndocumented
def format_desc_list(label, descs):

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:strSection "mini heading"
descs:Sequence[FieldDesc]FieldDescs
Returns
Iterator[Tag]Each row as iterator or None if no descs id provided.
def format_docstring(obj):
Generate an HTML representation of a docstring
Parameters
obj:model.DocumentableUndocumented
Returns
TagUndocumented
def format_field_list(singular, plural, fields):

Format list of Field object. Used for notes, see also, authors, etc.

Generates a 2-columns layout as follow:

    +------------------------------------+
    | <label>                            |
    | <desc ... >                        |
    +------------------------------------+
Parameters
singular:strUndocumented
plural:strUndocumented
fields:Sequence[Field]Undocumented
Returns
Iterator[Tag]Each row as iterator
def format_kind(kind, plural=False):
Transform a `model.DocumentableKind` Enum value to string.
Parameters
kind:model.DocumentableKindUndocumented
plural:boolUndocumented
Returns
strUndocumented
def format_summary(obj):
Generate an shortened HTML representation of a docstring.
Parameters
obj:model.DocumentableUndocumented
Returns
TagUndocumented
def format_undocumented(obj):
Generate an HTML representation for an object lacking a docstring.
Parameters
obj:model.DocumentableUndocumented
Returns
TagUndocumented
def get_docstring(obj):

Undocumented

Parameters
obj:model.DocumentableUndocumented
Returns
Tuple[Optional[str], Optional[model.Documentable]]Undocumented
def get_parsed_type(obj):

Undocumented

Parameters
obj:model.DocumentableUndocumented
Returns
Optional[ParsedDocstring]Undocumented
def get_parser(obj):
Get the parse_docstring(str, List[ParseError], bool) -> ParsedDocstring function.
Parameters
obj:model.DocumentableUndocumented
Returns
Callable[[str, List[ParseError], bool], ParsedDocstring]Undocumented
def parse_docstring(obj, doc, source):
Parse a docstring.
Parameters
obj:model.DocumentableThe object we're parsing the documentation for.
doc:strThe docstring.
source:model.DocumentableThe object on which the docstring is defined. This can differ from obj if the docstring is inherited.
Returns
ParsedDocstringUndocumented
def reportErrors(obj, errs):

Undocumented

Parameters
obj:model.DocumentableUndocumented
errs:Sequence[ParseError]Undocumented
def taglink(o, page_url, label=None):

Undocumented

Parameters
o:model.DocumentableUndocumented
page​_url:strUndocumented
label:Optional[Flattenable]Undocumented
Returns
TagUndocumented
def type2stan(obj):

Undocumented

Parameters
obj:model.DocumentableUndocumented
Returns
Optional[Tag]Undocumented
field_name_to_kind =

Undocumented

def _format_constant_value(obj):

Undocumented

Parameters
obj:model.AttributeUndocumented
Returns
Iterator[Flattenable]Undocumented
def _is_none_literal(node):
Does this AST node represent the literal constant None?
Parameters
node:ast.exprUndocumented
Returns
boolUndocumented