diff options
| author | sommersoft <sommersoft@gmail.com> | 2019-07-28 15:59:26 -0500 |
|---|---|---|
| committer | sommersoft <sommersoft@gmail.com> | 2019-07-28 15:59:26 -0500 |
| commit | d489c7a0579d13d29d42f29d6284cf51e57013d5 (patch) | |
| tree | 765a6b2c46de48def5b1235a51b068b18b79bb0f /conf.py | |
| parent | 143275db044ae8a3f1d5aebb5b4c7ddfe49e4d69 (diff) | |
change 'c2rst' from source_parser -> extension; allows use of sphinx 2.x
Diffstat (limited to 'conf.py')
| -rw-r--r-- | conf.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,7 +54,8 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', - 'rstjinja' + 'rstjinja', + 'c2rst' ] # Add any paths that contain templates here, relative to this directory. @@ -63,8 +64,7 @@ templates_path = ['templates'] # The suffix of source filenames. source_suffix = ['.rst', '.md', '.c', '.h'] -source_parsers = {'.md': CommonMarkParser, - '.c': "c2rst.CStrip", '.h': "c2rst.CStrip"} +source_parsers = {'.md': CommonMarkParser} # The encoding of source files. #source_encoding = 'utf-8-sig' |
