summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-add_source_parser-conflicts-with-users-setting/conf.py
blob: 5e57901692649f91a4f35ac588fd70a1e3675b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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': 'restructuredtext',
    '.test': 'restructuredtext',
}
source_parsers = {
    '.test': DummyTestParser
}