summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-30 21:35:59 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-30 21:35:59 (GMT)
commit759a02cacdfd54bc454a788e98446ec2fd539932 (patch)
treea0369323164f5e645a6ee31dd0a646d3d58efec8
parent4f8e2a98132a16d1e40e66c5422df4a6adf0fffd (diff)
parent95988f98ea0e9d9d9e6c87d44686b153de097067 (diff)
downloadcpython-759a02cacdfd54bc454a788e98446ec2fd539932.zip
cpython-759a02cacdfd54bc454a788e98446ec2fd539932.tar.gz
cpython-759a02cacdfd54bc454a788e98446ec2fd539932.tar.bz2
merge with 3.4
-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'