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