File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 44
44
'sphinx.ext.viewcode' ,
45
45
]
46
46
47
- import recommonmark
48
- from recommonmark .parser import CommonMarkParser
49
- from recommonmark .transform import AutoStructify
50
-
51
47
# Use reCommonMark for parsing text documents as MarkDown
52
48
source_parsers = {
53
- '.md' : CommonMarkParser
49
+ '.md' : 'recommonmark.parser. CommonMarkParser' ,
54
50
}
55
51
56
52
# Add any paths that contain templates here, relative to this directory.
162
158
# Add any paths that contain custom static files (such as style sheets) here,
163
159
# relative to this directory. They are copied after the builtin static files,
164
160
# so a file named "default.css" will overwrite the builtin "default.css".
165
- html_static_path = ['_static' ]
161
+ # html_static_path = ['_static']
166
162
167
163
# Add any extra paths that contain custom files (such as robots.txt or
168
164
# .htaccess) here, relative to this directory. These files are copied
364
360
365
361
# app setup hook for reCommonMark's AutoStructify
366
362
def setup (app ):
363
+ from recommonmark .transform import AutoStructify
367
364
app .add_config_value ('recommonmark_config' , {
368
365
'auto_toc_tree_section' : 'Contents' ,
369
366
}, True )
You can’t perform that action at this time.
0 commit comments