Commit d4754b0a authored by Georg Brandl's avatar Georg Brandl

rstlint: add more directives we use

parent f3f50526
...@@ -15,7 +15,6 @@ import os ...@@ -15,7 +15,6 @@ import os
import re import re
import sys import sys
import getopt import getopt
import subprocess
from os.path import join, splitext, abspath, exists from os.path import join, splitext, abspath, exists
from collections import defaultdict from collections import defaultdict
...@@ -28,15 +27,16 @@ directives = [ ...@@ -28,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', 'describe', 'directive', 'doctest', 'envvar', 'event', 'data', 'decorator', 'decoratormethod', 'deprecated-removed',
'exception', 'function', 'glossary', 'highlight', 'highlightlang', 'index', 'deprecated(?!-removed)', 'describe', 'directive', 'doctest', 'envvar',
'literalinclude', 'method', 'module', 'moduleauthor', 'productionlist', 'event', 'exception', 'function', 'glossary', 'highlight', 'highlightlang',
'program', 'role', 'sectionauthor', 'seealso', 'sourcecode', 'staticmethod', 'impl-detail', 'index', 'literalinclude', 'method', 'miscnews', 'module',
'moduleauthor', 'opcode', 'pdbcommand', 'productionlist',
'tabularcolumns', 'testcode', 'testoutput', 'testsetup', 'toctree', 'todo', 'tabularcolumns', 'testcode', 'testoutput', 'testsetup', 'toctree', 'todo',
'todolist', 'versionadded', 'versionchanged' 'todolist', 'versionadded', 'versionchanged'
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment