mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
13 lines
226 B
Python
13 lines
226 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from docutils.parsers import Parser
|
|
|
|
|
|
class TestSourceParser(Parser):
|
|
supported = ('test',)
|
|
|
|
|
|
def setup(app):
|
|
app.add_source_suffix('.test', 'test')
|
|
app.add_source_parser(TestSourceParser)
|