mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
20 lines
284 B
Python
20 lines
284 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 = ['source_parser']
|
|
source_suffix = ['.rst', '.test']
|
|
source_parsers = {
|
|
'.test': DummyTestParser
|
|
}
|