docutils.parsers.rst.languages.en module

English-language mappings for language-dependent features of reStructuredText.

directives = {'admonition': 'admonition', 'attention': 'attention', 'caution': 'caution', 'class': 'class', 'code': 'code', 'code-block': 'code', 'compound': 'compound', 'container': 'container', 'contents': 'contents', 'csv-table': 'csv-table', 'danger': 'danger', 'date': 'date', 'default-role': 'default-role', 'epigraph': 'epigraph', 'error': 'error', 'figure': 'figure', 'footer': 'footer', 'header': 'header', 'highlights': 'highlights', 'hint': 'hint', 'image': 'image', 'important': 'important', 'include': 'include', 'line-block': 'line-block', 'list-table': 'list-table', 'math': 'math', 'meta': 'meta', 'note': 'note', 'parsed-literal': 'parsed-literal', 'pull-quote': 'pull-quote', 'raw': 'raw', 'replace': 'replace', 'restructuredtext-test-directive': 'restructuredtext-test-directive', 'role': 'role', 'rubric': 'rubric', 'section-numbering': 'sectnum', 'sectnum': 'sectnum', 'sidebar': 'sidebar', 'sourcecode': 'code', 'table': 'table', 'target-notes': 'target-notes', 'tip': 'tip', 'title': 'title', 'topic': 'topic', 'unicode': 'unicode', 'warning': 'warning'}

Mapping of English directive name to registered directive names

Cf. https://docutils.sourceforge.io/docs/ref/rst/directives.html and _directive_registry in directives/__init__.py.

roles = {'ab': 'abbreviation', 'abbreviation': 'abbreviation', 'ac': 'acronym', 'acronym': 'acronym', 'anonymous-reference': 'anonymous-reference', 'citation-reference': 'citation-reference', 'code': 'code', 'emphasis': 'emphasis', 'footnote-reference': 'footnote-reference', 'i': 'index', 'index': 'index', 'literal': 'literal', 'math': 'math', 'named-reference': 'named-reference', 'pep': 'pep-reference', 'pep-reference': 'pep-reference', 'raw': 'raw', 'rfc': 'rfc-reference', 'rfc-reference': 'rfc-reference', 'strong': 'strong', 'sub': 'subscript', 'subscript': 'subscript', 'substitution-reference': 'substitution-reference', 'sup': 'superscript', 'superscript': 'superscript', 't': 'title-reference', 'target': 'target', 'title': 'title-reference', 'title-reference': 'title-reference', 'uri': 'uri-reference', 'uri-reference': 'uri-reference', 'url': 'uri-reference'}

Mapping of English role names to canonical role names for interpreted text.

Cf. https://docutils.sourceforge.io/docs/ref/rst/roles.html