mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
13 lines
255 B
Python
13 lines
255 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from docutils.parsers import Parser
|
|
|
|
|
|
class DummyMarkdownParser(Parser):
|
|
def parse(self, inputstring, document):
|
|
document.rawsource = inputstring
|
|
|
|
|
|
def setup(app):
|
|
app.add_source_parser('.md', DummyMarkdownParser)
|