summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-30 21:35:55 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-30 21:35:55 (GMT)
commit95988f98ea0e9d9d9e6c87d44686b153de097067 (patch)
treea7afb6bcab6639f90eaa2b90ffd74ee10bb0f990 /Doc
parenteb9106c928832c7ec892fe3242df44f04b9d3316 (diff)
downloadcpython-95988f98ea0e9d9d9e6c87d44686b153de097067.zip
cpython-95988f98ea0e9d9d9e6c87d44686b153de097067.tar.gz
cpython-95988f98ea0e9d9d9e6c87d44686b153de097067.tar.bz2
rstlint: add more directives we use
Diffstat (limited to 'Doc')
-rwxr-xr-xDoc/tools/rstlint.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/tools/rstlint.py b/Doc/tools/rstlint.py
index 39fb7e8..d742629 100755
--- a/Doc/tools/rstlint.py
+++ b/Doc/tools/rstlint.py
@@ -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'