class documentation

class ReferenceRole(SphinxRole):

Known subclasses: sphinx.domains.index.IndexRole, sphinx.roles.PEP, sphinx.roles.RFC, sphinx.roles.XRefRole

View In Hierarchy

A base class for reference roles.

The reference roles can accept link title <target> style as a text for the role. The parsed result; link title and target will be stored to self.title and self.target.

Instance Variable disabled Undocumented
Instance Variable has​_explicit​_title Undocumented
Instance Variable target Undocumented
Instance Variable title Undocumented
Method __call__ Undocumented
Class Variable explicit​_title​_re Undocumented

Inherited from SphinxRole:

Method get​_location Get current location info for logging.
Instance Variable content Undocumented
Instance Variable inliner Undocumented
Instance Variable lineno Undocumented
Instance Variable name Undocumented
Instance Variable options Undocumented
Instance Variable rawtext Undocumented
Instance Variable text Undocumented
Property config Reference to the .Config object.
Property env Reference to the .BuildEnvironment object.
Method get​_source​_info Undocumented
Method run Undocumented
Method set​_source​_info Undocumented
disabled =

Undocumented

has_explicit_title: bool =
overridden in sphinx.roles.XRefRole

Undocumented

target =

Undocumented

title =

Undocumented

def __call__(self, name, rawtext, text, lineno, inliner, options={}, content=[]):

Undocumented

Parameters
name:strUndocumented
rawtext:strUndocumented
text:strUndocumented
lineno:intUndocumented
inliner:InlinerUndocumented
options:DictUndocumented
content:List[str]Undocumented
Returns
Tuple[List[Node], List[system_message]]Undocumented
explicit_title_re =

Undocumented