summaryrefslogtreecommitdiff
path: root/tests/roots/test-add_source_parser-conflicts-with-users-setting/source_parser.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2017-01-07 02:13:50 +0900
committershimizukawa <shimizukawa@gmail.com>2017-01-07 02:14:29 +0900
commit4c22cd10caa7b9621ece480fade5653d65226fcc (patch)
tree19a64268e9814dfa12087dc2d432c5339a23a0a9 /tests/roots/test-add_source_parser-conflicts-with-users-setting/source_parser.py
parentf695aac2e28e1463385b399b61fc2c4b4ef40c5c (diff)
parent620616cdbd92147f6ea7bbeb670dc3a0562235ff (diff)
downloadsphinx-git-4c22cd10caa7b9621ece480fade5653d65226fcc.tar.gz
Merge branch 'stable'
Diffstat (limited to 'tests/roots/test-add_source_parser-conflicts-with-users-setting/source_parser.py')
-rw-r--r--tests/roots/test-add_source_parser-conflicts-with-users-setting/source_parser.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/roots/test-add_source_parser-conflicts-with-users-setting/source_parser.py b/tests/roots/test-add_source_parser-conflicts-with-users-setting/source_parser.py
new file mode 100644
index 000000000..0dff7e311
--- /dev/null
+++ b/tests/roots/test-add_source_parser-conflicts-with-users-setting/source_parser.py
@@ -0,0 +1,11 @@
+# -*- coding: utf-8 -*-
+
+from docutils.parsers import Parser
+
+
+class TestSourceParser(Parser):
+ pass
+
+
+def setup(app):
+ app.add_source_parser('.test', TestSourceParser)