module documentation

reST helper functions.

Unknown Field: copyright
Copyright 2007-2022 by the Sphinx team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Constant SECTIONING​_CHARS Undocumented
Constant WIDECHARS Undocumented
Variable docinfo​_re Undocumented
Variable logger Undocumented
Variable symbols​_re Undocumented
Function append​_epilog Append a string to content body as epilog.
Function default​_role Undocumented
Function escape Undocumented
Function heading Create a heading for level.
Function prepend​_prolog Prepend a string to content body as prolog.
Function textwidth Get width of text.
SECTIONING_CHARS: list[str] =

Undocumented

Value
['=', '-', '~']
WIDECHARS: Dict[str, str] =

Undocumented

Value
defaultdict((lambda : 'WF'))
docinfo_re =

Undocumented

logger =

Undocumented

symbols_re =

Undocumented

def append_epilog(content, epilog):
Append a string to content body as epilog.
Parameters
content:StringListUndocumented
epilog:strUndocumented
@contextmanager
def default_role(docname, name):

Undocumented

Parameters
docname:strUndocumented
name:strUndocumented
Returns
Generator[None, None, None]Undocumented
def escape(text):

Undocumented

Parameters
text:strUndocumented
Returns
strUndocumented
@pass_environment
def heading(env, text, level=1):
Create a heading for level.
Parameters
env:EnvironmentUndocumented
text:strUndocumented
level:intUndocumented
Returns
strUndocumented
def prepend_prolog(content, prolog):
Prepend a string to content body as prolog.
Parameters
content:StringListUndocumented
prolog:strUndocumented
def textwidth(text, widechars='WF'):
Get width of text.
Parameters
text:strUndocumented
widechars:strUndocumented
Returns
intUndocumented