File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2525if on_rtd :
2626 import pip
2727 pip .main (['install' , 'sphinx_bootstrap_theme' ])
28+ pip .main (['install' , 'recommonmark' ])
2829
2930import sphinx_bootstrap_theme
31+ from recommonmark .parser import CommonMarkParser
3032
3133# If extensions (or modules to document with autodoc) are in another directory,
3234# add these directories to sys.path here. If the directory is relative to the
4951# Add any paths that contain templates here, relative to this directory.
5052templates_path = ['_templates' ]
5153
54+ source_parsers = {
55+ '.md' : CommonMarkParser ,
56+ }
57+
5258# The suffix(es) of source filenames.
5359# You can specify multiple suffix as a list of string:
5460# source_suffix = ['.rst', '.md']
55- source_suffix = '.rst'
61+ source_suffix = [ '.rst' , '.md' ]
5662
5763# The encoding of source files.
5864#source_encoding = 'utf-8-sig'
You can’t perform that action at this time.
0 commit comments