File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 17
17
import sys
18
18
import os
19
19
20
- from recommonmark . parser import CommonMarkParser
20
+ import recommonmark
21
21
22
22
# If extensions (or modules to document with autodoc) are in another directory,
23
23
# add these directories to sys.path here. If the directory is relative to the
55
55
'sphinx.ext.todo' ,
56
56
'sphinx.ext.coverage' ,
57
57
'rstjinja' ,
58
- 'c2rst'
58
+ 'c2rst' ,
59
+ 'recommonmark' ,
59
60
]
60
61
61
62
# Add any paths that contain templates here, relative to this directory.
62
63
templates_path = ['templates' ]
63
64
64
65
# The suffix of source filenames.
65
- source_suffix = ['.rst' , '.md' , '.c' , '.h' ]
66
+ source_suffix = {
67
+ '.rst' : 'restructuredtext' ,
68
+ '.md' : 'markdown' ,
69
+ '.c' : ''
70
+ }
66
71
67
- source_parsers = {'.md' : CommonMarkParser }
68
72
69
73
# The encoding of source files.
70
74
#source_encoding = 'utf-8-sig'
You can’t perform that action at this time.
0 commit comments