mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
19 lines
288 B
Python
19 lines
288 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
from docutils.parsers import Parser
|
||
|
|
||
|
sys.path.insert(0, os.path.abspath('.'))
|
||
|
|
||
|
|
||
|
class DummyTestParser(Parser):
|
||
|
pass
|
||
|
|
||
|
|
||
|
extensions = ['test_source_parser']
|
||
|
source_suffix = ['.rst', '.test']
|
||
|
source_parsers = {
|
||
|
'.test': DummyTestParser
|
||
|
}
|