|
76 | 76 |
|
77 | 77 | # fmt: off
|
78 | 78 | directives = [
|
79 |
| - # standard docutils ones |
80 |
| - 'admonition', 'attention', 'caution', 'class', 'compound', 'container', |
81 |
| - 'contents', 'csv-table', 'danger', 'date', 'default-role', 'epigraph', |
82 |
| - 'error', 'figure', 'footer', 'header', 'highlights', 'hint', 'image', |
83 |
| - 'important', 'include', 'line-block', 'list-table', 'meta', 'note', |
84 |
| - 'parsed-literal', 'pull-quote', 'raw', 'replace', |
85 |
| - 'restructuredtext-test-directive', 'role', 'rubric', 'sectnum', 'sidebar', |
86 |
| - 'table', 'target-notes', 'tip', 'title', 'topic', 'unicode', 'warning', |
87 |
| - # Sphinx and Python docs custom ones |
88 |
| - 'acks', 'attribute', 'autoattribute', 'autoclass', 'autodata', |
89 |
| - 'autoexception', 'autofunction', 'automethod', 'automodule', |
90 |
| - 'availability', 'centered', 'cfunction', 'class', 'classmethod', 'cmacro', |
91 |
| - 'cmdoption', 'cmember', 'code-block', 'confval', 'cssclass', 'ctype', |
92 |
| - 'currentmodule', 'cvar', 'data', 'decorator', 'decoratormethod', |
93 |
| - 'deprecated-removed', 'deprecated(?!-removed)', 'describe', 'directive', |
94 |
| - 'doctest', 'envvar', 'event', 'exception', 'function', 'glossary', |
95 |
| - 'highlight', 'highlightlang', 'impl-detail', 'index', 'literalinclude', |
96 |
| - 'method', 'miscnews', 'module', 'moduleauthor', 'opcode', 'pdbcommand', |
97 |
| - 'productionlist', 'program', 'role', 'sectionauthor', 'seealso', |
98 |
| - 'sourcecode', 'staticmethod', 'tabularcolumns', 'testcode', 'testoutput', |
99 |
| - 'testsetup', 'toctree', 'todo', 'todolist', 'versionadded', |
100 |
| - 'versionchanged' |
| 79 | + # reStructuredText directives: |
| 80 | + 'admonition', 'attention', 'caution', 'class', 'code', 'code-block', |
| 81 | + 'compound', 'container', 'contents', 'csv-table', 'danger', 'date', |
| 82 | + 'default-role', 'epigraph', 'error', 'figure', 'footer', 'header', |
| 83 | + 'highlights', 'hint', 'image', 'important', 'include', 'line-block', |
| 84 | + 'list-table', 'math', 'meta', 'note', 'parsed-literal', 'pull-quote', 'raw', |
| 85 | + 'replace', 'restructuredtext-test-directive', 'role', 'rubric', |
| 86 | + 'section-numbering', 'sectnum', 'sidebar', 'sourcecode', 'table', |
| 87 | + 'target-notes', 'tip', 'title', 'topic', 'unicode', 'warning', |
| 88 | + # Added by Sphinx: |
| 89 | + 'acks', 'centered', 'codeauthor', 'default-domain', 'deprecated', |
| 90 | + 'describe', 'highlight', 'hlist', 'index', 'literalinclude', 'moduleauthor', |
| 91 | + 'object', 'only', 'rst-class', 'sectionauthor', 'seealso', 'tabularcolumns', |
| 92 | + 'toctree', 'versionadded', 'versionchanged', |
| 93 | + # Python docs custom ones: |
| 94 | + 'attribute', 'autoattribute', 'autoclass', 'autodata', 'autoexception', |
| 95 | + 'autofunction', 'automethod', 'automodule', 'availability', 'cfunction', |
| 96 | + 'classmethod', 'cmacro', 'cmdoption', 'cmember', 'confval', 'cssclass', |
| 97 | + 'ctype', 'currentmodule', 'cvar', 'data', 'decorator', 'decoratormethod', |
| 98 | + 'deprecated-removed', 'deprecated(?!-removed)', 'directive', 'doctest', |
| 99 | + 'envvar', 'event', 'exception', 'function', 'glossary', 'highlightlang', |
| 100 | + 'impl-detail', 'method', 'miscnews', 'module', 'opcode', 'pdbcommand', |
| 101 | + 'productionlist', 'program', 'sourcecode', 'staticmethod', 'testcode', |
| 102 | + 'testoutput', 'testsetup', 'todo', 'todolist', |
101 | 103 | ]
|
102 | 104 | # fmt: on
|
103 | 105 |
|
|
0 commit comments