summaryrefslogtreecommitdiff
path: root/tests/roots/test-add_source_parser-conflicts-with-users-setting/conf.py
blob: 00a5a7039051df2c84b2fe57656995792b839419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- coding: utf-8 -*-

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
}