blark.sphinxdomain.BlarkDirective
- class blark.sphinxdomain.BlarkDirective(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)[source]
Bases:
ObjectDescription[Tuple[str,str]]Methods
Attributes
configReference to the
Configobject.envReference to the
BuildEnvironmentobject.May the final argument contain whitespace?
May the directive have content?
Mapping of option names to validator functions.
Number of optional arguments after the required arguments.
Number of required directive arguments.
The role name actually used in the document.
A string containing the entire interpreted text input.
The interpreted text content.
The line number where the interpreted text begins.
A dictionary of directive options for customization ("role" directive).
A list of strings, the directive content for customization ("role" directive).
- indexnode: index = <index: >
- option_spec: ClassVar[dict[str, Callable[[str], Any]]] = {'annotation': <function unchanged>, 'canonical': <function unchanged>, 'noblocks': <function flag>, 'noindex': <function flag>, 'noindexentry': <function flag>, 'nolinks': <function flag>, 'nosource': <function flag>}
Mapping of option names to validator functions.