summaryrefslogtreecommitdiff
path: root/tests/roots/test-add_source_parser/conf.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-03-29 23:52:32 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-03-30 14:50:37 +0900
commit61098a0ae2e696a804459d36bd74ca57db76eda5 (patch)
tree2d71c39d199fec7366a013e0b48c1b2fb4bc83ee /tests/roots/test-add_source_parser/conf.py
parentc1a254f2491436ac304f1f169aa488438abe4193 (diff)
downloadsphinx-git-61098a0ae2e696a804459d36bd74ca57db76eda5.tar.gz
Drop features and APIs deprecated in 1.8
Diffstat (limited to 'tests/roots/test-add_source_parser/conf.py')
-rw-r--r--tests/roots/test-add_source_parser/conf.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/roots/test-add_source_parser/conf.py b/tests/roots/test-add_source_parser/conf.py
index 9ff50b21e..2acd4d24c 100644
--- a/tests/roots/test-add_source_parser/conf.py
+++ b/tests/roots/test-add_source_parser/conf.py
@@ -1,17 +1,8 @@
import os
import sys
-from docutils.parsers import Parser
-
sys.path.insert(0, os.path.abspath('.'))
-class DummyMarkdownParser(Parser):
- supported = ('markdown',)
-
-
extensions = ['source_parser']
-source_suffix = ['.rst', '.md']
-source_parsers = {
- '.md': DummyMarkdownParser
-}
+source_suffix = ['.rst']