mirror of
https://github.com/vale981/recommonmark
synced 2025-03-05 10:01:39 -05:00
Turn package into a Sphinx extension
This commit is contained in:
parent
5ce70fb0d2
commit
7584516df2
1 changed files with 7 additions and 0 deletions
|
@ -1 +1,8 @@
|
|||
__version__ = '0.4.0'
|
||||
|
||||
|
||||
def setup(app):
|
||||
"""Initialize Sphinx extension."""
|
||||
from .parser import CommonMarkParser
|
||||
app.add_source_parser('.md', CommonMarkParser) # needs Sphinx >= 1.4
|
||||
return {'version': __version__, 'parallel_read_safe': True}
|
||||
|
|
Loading…
Add table
Reference in a new issue