![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| __init__ (self, DocutilsRenderer renderer, str name, type[Include] klass, list[str] arguments, dict[str, Any] options, list[str] body, int lineno) | |
| list[nodes.Element] | run (self) |
| add_name (self, nodes.Element node) | |
Public Attributes | |
| renderer | |
| document | |
| name | |
| klass | |
| arguments | |
| options | |
| body | |
| lineno | |
This directive uses a lot of statemachine logic that is not yet mocked. Therefore, we treat it as a special case (at least for now). See: https://docutils.sourceforge.io/docs/ref/rst/directives.html#including-an-external-document-fragment
| myst_parser.mocking.MockIncludeDirective.add_name | ( | self, | |
| nodes.Element | node | ||
| ) |
Append self.options['name'] to node['names'] if it exists. Also normalize the name string and register it as explicit target.