mirror of
https://github.com/python/cpython.git
synced 2024-12-04 23:34:42 +08:00
rstlint: add more directives we use
This commit is contained in:
parent
eb9106c928
commit
95988f98ea
@ -27,15 +27,16 @@ directives = [
|
||||
'parsed-literal', 'pull-quote', 'raw', 'replace',
|
||||
'restructuredtext-test-directive', 'role', 'rubric', 'sectnum', 'sidebar',
|
||||
'table', 'target-notes', 'tip', 'title', 'topic', 'unicode', 'warning',
|
||||
# Sphinx custom ones
|
||||
# Sphinx and Python docs custom ones
|
||||
'acks', 'attribute', 'autoattribute', 'autoclass', 'autodata',
|
||||
'autoexception', 'autofunction', 'automethod', 'automodule', 'centered',
|
||||
'cfunction', 'class', 'classmethod', 'cmacro', 'cmdoption', 'cmember',
|
||||
'code-block', 'confval', 'cssclass', 'ctype', 'currentmodule', 'cvar',
|
||||
'data', 'deprecated-removed', 'deprecated(?!-removed)', 'describe', 'directive',
|
||||
'doctest', 'envvar', 'event',
|
||||
'exception', 'function', 'glossary', 'highlight', 'highlightlang', 'index',
|
||||
'literalinclude', 'method', 'module', 'moduleauthor', 'productionlist',
|
||||
'data', 'decorator', 'decoratormethod', 'deprecated-removed',
|
||||
'deprecated(?!-removed)', 'describe', 'directive', 'doctest', 'envvar',
|
||||
'event', 'exception', 'function', 'glossary', 'highlight', 'highlightlang',
|
||||
'impl-detail', 'index', 'literalinclude', 'method', 'miscnews', 'module',
|
||||
'moduleauthor', 'opcode', 'pdbcommand', 'productionlist',
|
||||
'program', 'role', 'sectionauthor', 'seealso', 'sourcecode', 'staticmethod',
|
||||
'tabularcolumns', 'testcode', 'testoutput', 'testsetup', 'toctree', 'todo',
|
||||
'todolist', 'versionadded', 'versionchanged'
|
||||
|
Loading…
Reference in New Issue
Block a user