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

import os
import sys
from docutils.parsers import Parser

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


class DummyTestParser(Parser):
    pass


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