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