summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-add_source_parser-conflicts-with-users-setting/conf.py
blob: 3ad549153f91e346f8f32e609bf2400b20f739e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
import sys

from docutils.parsers import Parser

sys.path.insert(0, os.path.abspath('.'))


class DummyTestParser(Parser):
    supported = ('dummy',)


extensions = ['source_parser']
source_suffix = ['.rst', '.test']
source_parsers = {
    '.test': DummyTestParser
}