summaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorsommersoft <sommersoft@gmail.com>2019-07-28 15:59:26 -0500
committersommersoft <sommersoft@gmail.com>2019-07-28 15:59:26 -0500
commitd489c7a0579d13d29d42f29d6284cf51e57013d5 (patch)
tree765a6b2c46de48def5b1235a51b068b18b79bb0f /conf.py
parent143275db044ae8a3f1d5aebb5b4c7ddfe49e4d69 (diff)
change 'c2rst' from source_parser -> extension; allows use of sphinx 2.x
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.py b/conf.py
index 7a00454e0..56625e758 100644
--- a/conf.py
+++ b/conf.py
@@ -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'