☰
Debian Codegraph
@
9.1.0-6
9.1.0-4
/
/
tests
/
roots
/
test-add_source_parser
/
source_parser.py
☽
☼
tests/roots/test-add_source_parser/source_parser.py
code
plain
raw
BSD-2-clause
2007-2025 the Sphinx team (see AUTHORS file)
debian/copyright
1
from docutils.parsers import Parser
2
3
4
class TestSourceParser(Parser):
5
supported = ('test',)
6
7
8
def setup(app):
9
app.add_source_suffix('.test', 'test')
10
app.add_source_parser(TestSourceParser)