class documentation

class sphinx_domains(CustomReSTDispatcher):

View In Hierarchy

Monkey-patch directive and role dispatch, so that domain-specific markup takes precedence.
Method __init__ Undocumented
Method directive Undocumented
Method lookup​_domain​_element Lookup a markup element (directive or role), given its name which can be a full name (with domain).
Method role Undocumented
Instance Variable env Undocumented

Inherited from CustomReSTDispatcher:

Method __enter__ Undocumented
Method __exit__ Undocumented
Method disable Undocumented
Method enable Undocumented
Instance Variable directive​_func Undocumented
Instance Variable role​_func Undocumented
Instance Variable roles​_func Undocumented
def __init__(self, env):

Undocumented

Parameters
env:BuildEnvironmentUndocumented
def directive(self, directive_name, language_module, document):

Undocumented

Parameters
directive​_name:strUndocumented
language​_module:ModuleTypeUndocumented
document:nodes.documentUndocumented
Returns
Tuple[Optional[Type[Directive]], List[system_message]]Undocumented
def lookup_domain_element(self, type, name):
Lookup a markup element (directive or role), given its name which can be a full name (with domain).
Parameters
type:strUndocumented
name:strUndocumented
Returns
AnyUndocumented
def role(self, role_name, language_module, lineno, reporter):

Undocumented

Parameters
role​_name:strUndocumented
language​_module:ModuleTypeUndocumented
lineno:intUndocumented
reporter:ReporterUndocumented
Returns
Tuple[RoleFunction, List[system_message]]Undocumented
env =

Undocumented