Skip to content

Commit da9f8de

Browse files
committed
Update recommonmark ocnfiguration
In new versions of SPhinx the way we were configuring the recommonmark extension has become deprecated. This switches us to the new way of configuring it.
1 parent 8d8c21e commit da9f8de

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/source/conf.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
# import sys
2222
# sys.path.insert(0, os.path.abspath('.'))
2323

24-
# For conversion from markdown to html
25-
import recommonmark.parser
2624

2725
# -- General configuration ------------------------------------------------
2826

@@ -35,6 +33,7 @@
3533
# ones.
3634
extensions = ['sphinx.ext.extlinks',
3735
'sphinxcontrib.autoprogram',
36+
'recommonmark',
3837
]
3938

4039
extlinks = {
@@ -46,10 +45,6 @@
4645
# Add any paths that contain templates here, relative to this directory.
4746
templates_path = ['_templates']
4847

49-
# source parser
50-
source_parsers = {
51-
'.md': 'recommonmark.parser.CommonMarkParser',
52-
}
5348

5449
from recommonmark.transform import AutoStructify
5550

0 commit comments

Comments
 (0)