class documentation
class _SplitFieldsTranslator(nodes.NodeVisitor): (source)
Constructor: _SplitFieldsTranslator(document, errors)
A docutils translator that removes all fields from a document, and collects them into the instance variable fields
Method | __init__ |
Undocumented |
Method | handle |
Undocumented |
Method | handle |
Undocumented |
Method | handle |
Attempt to handle a consolidated section. |
Method | unknown |
Ignore all unknown nodes |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Method | visit |
Undocumented |
Constant | ALLOW |
If true, then consolidated fields are not required to mark arguments with `backticks`. (This is currently only implemented for consolidated fields expressed as definition lists; consolidated fields expressed as unordered lists still require backticks for now. |
Instance Variable | fields |
The fields of the most recently walked document. |
Method | _add |
Undocumented |
Instance Variable | _errors |
Undocumented |
Instance Variable | _newfields |
Undocumented |
def handle_consolidated_definition_list(self, items:
nodes.definition_list
, tagname: str
):
(source)
¶
Undocumented
If true, then consolidated fields are not required to mark arguments with `backticks`. (This is currently only implemented for consolidated fields expressed as definition lists; consolidated fields expressed as unordered lists still require backticks for now.
Value |
|