class Field:
Known subclasses: sphinx.domains.python.PyField
, sphinx.util.docfields.GroupedField
A doc field that is never grouped. It can have an argument or not, the argument can be linked using a specified rolename. Field should be used for doc fields that usually don't occur more than once.
The body can be linked using a specified bodyrolename if the content is just a single inline or text node.
Example:
:returns: description of the return value :rtype: description of the return type
Method | __init__ |
Undocumented |
Method | make_entry |
Undocumented |
Method | make_field |
Undocumented |
Method | make_xref |
Undocumented |
Method | make_xrefs |
Undocumented |
Class Variable | is_grouped |
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 |
sphinx.util.docfields.GroupedField
Undocumented
Parameters | |
name:str | Undocumented |
names:Tuple[ | Undocumented |
label:str | Undocumented |
has_arg:bool | Undocumented |
rolename:str | Undocumented |
bodyrolename:str | Undocumented |
Undocumented
Parameters | |
fieldarg:str | Undocumented |
content:List[ | Undocumented |
Returns | |
Tuple[ | Undocumented |
sphinx.util.docfields.GroupedField
Undocumented
Parameters | |
types:Dict[ | Undocumented |
domain:str | Undocumented |
item:Tuple | Undocumented |
env:BuildEnvironment | Undocumented |
inliner:Inliner | Undocumented |
location:Node | Undocumented |
Returns | |
nodes.field | Undocumented |
Undocumented
Parameters | |
rolename:str | Undocumented |
domain:str | Undocumented |
target:str | Undocumented |
innernode:Type[ | Undocumented |
contnode:Node | Undocumented |
env:BuildEnvironment | Undocumented |
inliner:Inliner | Undocumented |
location:Node | Undocumented |
Returns | |
Node | Undocumented |
Undocumented
Parameters | |
rolename:str | Undocumented |
domain:str | Undocumented |
target:str | Undocumented |
innernode:Type[ | Undocumented |
contnode:Node | Undocumented |
env:BuildEnvironment | Undocumented |
inliner:Inliner | Undocumented |
location:Node | Undocumented |
Returns | |
List[ | Undocumented |