move markdown support as req
@@ -56,7 +56,14 @@ templates_path = ['_templates']
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
-source_suffix = '.rst'
+
+# Support markdown via recommonmark:
+source_suffix = ['.rst', '.md']
+
+from recommonmark.parser import CommonMarkParser
+source_parsers = {
+ '.md': CommonMarkParser,
+}
# The master toctree document.
master_doc = 'index'
@@ -172,13 +179,5 @@ texinfo_documents = [
'Miscellaneous'),
]
-# Support markdown via recommonmark:
-
-from recommonmark.parser import CommonMarkParser
-
-source_parsers = {
- '.md': CommonMarkParser,
-}
-source_suffix = ['.rst', '.md']
