blob: 69ad02db068c195900f4a6fb601a238baa0f0a29 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from docutils.parsers import Parser
class TestSourceParser(Parser):
supported = ('test',)
def setup(app):
app.add_source_suffix('.test', 'test')
app.add_source_parser(TestSourceParser)
|