File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717import sys
1818import os
1919
20- from recommonmark . parser import CommonMarkParser
20+ import recommonmark
2121
2222# If extensions (or modules to document with autodoc) are in another directory,
2323# add these directories to sys.path here. If the directory is relative to the
5555 'sphinx.ext.todo' ,
5656 'sphinx.ext.coverage' ,
5757 'rstjinja' ,
58- 'c2rst'
58+ 'c2rst' ,
59+ 'recommonmark' ,
5960]
6061
6162# Add any paths that contain templates here, relative to this directory.
6263templates_path = ['templates' ]
6364
6465# The suffix of source filenames.
65- source_suffix = ['.rst' , '.md' , '.c' , '.h' ]
66+ source_suffix = {
67+ '.rst' : 'restructuredtext' ,
68+ '.md' : 'markdown' ,
69+ '.c' : ''
70+ }
6671
67- source_parsers = {'.md' : CommonMarkParser }
6872
6973# The encoding of source files.
7074#source_encoding = 'utf-8-sig'
You can’t perform that action at this time.
0 commit comments