class documentation

class GroupedField(Field):

Known subclasses: sphinx.domains.python.PyGroupedField, sphinx.util.docfields.TypedField

View In Hierarchy

A doc field that is grouped; i.e., all fields of that type will be transformed into one field with its body being a bulleted list. It always has an argument. The argument can be linked using the given rolename. GroupedField should be used for doc fields that can occur more than once. If can_collapse is true, this field will revert to a Field if only used once.

Example:

:raises ErrorClass: description when it is raised
Method __init__ Undocumented
Method make​_field Undocumented
Class Variable is​_grouped Undocumented
Instance Variable can​_collapse Undocumented

Inherited from Field:

Method make​_entry Undocumented
Method make​_xref Undocumented
Method make​_xrefs Undocumented
Class Variable is​_typed Undocumented
Instance Variable bodyrolename Undocumented
Instance Variable has​_arg Undocumented
Instance Variable label Undocumented
Instance Variable name Undocumented
Instance Variable names Undocumented
Instance Variable rolename Undocumented
def __init__(self, name, names=(), label=None, rolename=None, can_collapse=False):

Undocumented

Parameters
name:strUndocumented
names:Tuple[str, ...]Undocumented
label:strUndocumented
rolename:strUndocumented
can​_collapse:boolUndocumented
def make_field(self, types, domain, items, env=None, inliner=None, location=None):

Undocumented

Parameters
types:Dict[str, List[Node]]Undocumented
domain:strUndocumented
items:TupleUndocumented
env:BuildEnvironmentUndocumented
inliner:InlinerUndocumented
location:NodeUndocumented
Returns
nodes.fieldUndocumented
is_grouped: bool =
can_collapse =

Undocumented