module documentation
Helper function to convert docutils
nodes to Stan tree.
Class |
|
Pydoctor's HTML translator. |
Function | gettext |
Return the text inside the node(s). |
Function | node2html |
Convert a docutils.nodes.Node object to HTML strings. |
Function | node2stan |
Convert docutils.nodes.Node objects to a Stan tree. |
Function | _valid |
Remove invalid characters to create valid CSS identifiers. |
Constant | _TARGET |
Undocumented |
Constant | _VALID |
Undocumented |
Return the text inside the node(s).
Parameters | |
node:Union[ | Undocumented |
Returns | |
List[ | Undocumented |
Convert a docutils.nodes.Node
object to HTML strings.
Parameters | |
node:nodes.Node | Undocumented |
docstringDocstringLinker | Undocumented |
compact:bool | Undocumented |
Returns | |
List[ | Undocumented |
Convert docutils.nodes.Node
objects to a Stan tree.
Parameters | |
node:Union[ | An docutils document or a fragment of document. |
docstringDocstringLinker | Undocumented |
compact:bool | Undocumented |
Returns | |
Tag | The element as a stan tree. |
Note | |
Any nodes.Node can be passed to that function, the only requirement is that the node's nodes.Node.document attribute is set to a valid nodes.document object. |