comparison env/lib/python3.9/site-packages/docutils/parsers/rst/languages/en.py @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 # $Id: en.py 7179 2011-10-15 22:06:45Z milde $
2 # Author: David Goodger <goodger@python.org>
3 # Copyright: This module has been placed in the public domain.
4
5 # New language mappings are welcome. Before doing a new translation, please
6 # read <http://docutils.sf.net/docs/howto/i18n.html>. Two files must be
7 # translated for each language: one in docutils/languages, the other in
8 # docutils/parsers/rst/languages.
9
10 """
11 English-language mappings for language-dependent features of
12 reStructuredText.
13 """
14
15 __docformat__ = 'reStructuredText'
16
17
18 directives = {
19 # language-dependent: fixed
20 'attention': 'attention',
21 'caution': 'caution',
22 'code': 'code',
23 'code-block': 'code',
24 'sourcecode': 'code',
25 'danger': 'danger',
26 'error': 'error',
27 'hint': 'hint',
28 'important': 'important',
29 'note': 'note',
30 'tip': 'tip',
31 'warning': 'warning',
32 'admonition': 'admonition',
33 'sidebar': 'sidebar',
34 'topic': 'topic',
35 'line-block': 'line-block',
36 'parsed-literal': 'parsed-literal',
37 'rubric': 'rubric',
38 'epigraph': 'epigraph',
39 'highlights': 'highlights',
40 'pull-quote': 'pull-quote',
41 'compound': 'compound',
42 'container': 'container',
43 #'questions': 'questions',
44 'table': 'table',
45 'csv-table': 'csv-table',
46 'list-table': 'list-table',
47 #'qa': 'questions',
48 #'faq': 'questions',
49 'meta': 'meta',
50 'math': 'math',
51 #'imagemap': 'imagemap',
52 'image': 'image',
53 'figure': 'figure',
54 'include': 'include',
55 'raw': 'raw',
56 'replace': 'replace',
57 'unicode': 'unicode',
58 'date': 'date',
59 'class': 'class',
60 'role': 'role',
61 'default-role': 'default-role',
62 'title': 'title',
63 'contents': 'contents',
64 'sectnum': 'sectnum',
65 'section-numbering': 'sectnum',
66 'header': 'header',
67 'footer': 'footer',
68 #'footnotes': 'footnotes',
69 #'citations': 'citations',
70 'target-notes': 'target-notes',
71 'restructuredtext-test-directive': 'restructuredtext-test-directive'}
72 """English name to registered (in directives/__init__.py) directive name
73 mapping."""
74
75 roles = {
76 # language-dependent: fixed
77 'abbreviation': 'abbreviation',
78 'ab': 'abbreviation',
79 'acronym': 'acronym',
80 'ac': 'acronym',
81 'code': 'code',
82 'index': 'index',
83 'i': 'index',
84 'subscript': 'subscript',
85 'sub': 'subscript',
86 'superscript': 'superscript',
87 'sup': 'superscript',
88 'title-reference': 'title-reference',
89 'title': 'title-reference',
90 't': 'title-reference',
91 'pep-reference': 'pep-reference',
92 'pep': 'pep-reference',
93 'rfc-reference': 'rfc-reference',
94 'rfc': 'rfc-reference',
95 'emphasis': 'emphasis',
96 'strong': 'strong',
97 'literal': 'literal',
98 'math': 'math',
99 'named-reference': 'named-reference',
100 'anonymous-reference': 'anonymous-reference',
101 'footnote-reference': 'footnote-reference',
102 'citation-reference': 'citation-reference',
103 'substitution-reference': 'substitution-reference',
104 'target': 'target',
105 'uri-reference': 'uri-reference',
106 'uri': 'uri-reference',
107 'url': 'uri-reference',
108 'raw': 'raw',}
109 """Mapping of English role names to canonical role names for interpreted text.
110 """