class documentation

class KeyboardTransform(SphinxPostTransform):

View In Hierarchy

Transform :kbd: role to more detailed form.

Before:

<literal class="kbd">
    Control-x

After:

<literal class="kbd compound">
    <literal class="kbd">
        Control
    -
    <literal class="kbd">
        x
Method is​_multiwords​_key Undocumented
Method run Main method of post transforms.
Class Variable default​_priority Undocumented
Class Variable formats Undocumented
Class Variable multiwords​_keys Undocumented
Class Variable pattern Undocumented

Inherited from SphinxPostTransform:

Method apply Undocumented
Method is​_supported Check this transform working for current builder.
Class Variable builders Undocumented

Inherited from SphinxTransform (via SphinxPostTransform):

Property app Reference to the .Sphinx object.
Property config Reference to the .Config object.
Property env Reference to the .BuildEnvironment object.
def is_multiwords_key(self, parts):

Undocumented

Parameters
parts:List[str]Undocumented
Returns
boolUndocumented
def run(self, **kwargs):

Main method of post transforms.

Subclasses should override this method instead of apply().

Parameters
**kwargs:AnyUndocumented
default_priority: int =

Undocumented

formats: tuple[str, ...] =
multiwords_keys: tuple =

Undocumented

pattern =

Undocumented