Skip to content

Commit 56c6bce

Browse files
enable markdown
1 parent ce4c223 commit 56c6bce

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs/source/conf.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
# Add any Sphinx extension module names here, as strings. They can be
3232
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3333
# ones.
34+
35+
from recommonmark.parser import CommonMarkParser
36+
37+
source_parsers = {
38+
'.md': CommonMarkParser,
39+
}
40+
3441
extensions = ['sphinx.ext.autodoc',
3542
'sphinx.ext.doctest',
3643
'sphinx.ext.todo',
@@ -44,8 +51,8 @@
4451
# The suffix(es) of source filenames.
4552
# You can specify multiple suffix as a list of string:
4653
#
47-
# source_suffix = ['.rst', '.md']
48-
source_suffix = '.rst'
54+
source_suffix = ['.rst', '.md']
55+
# source_suffix = '.rst'
4956

5057
# The master toctree document.
5158
master_doc = 'index'
@@ -60,9 +67,9 @@
6067
# built documents.
6168
#
6269
# The short X.Y version.
63-
version = ''
70+
version = '1.0.0'
6471
# The full version, including alpha/beta/rc tags.
65-
release = ''
72+
release = 'v1.0.0'
6673

6774
# The language for content autogenerated by Sphinx. Refer to documentation
6875
# for a list of supported languages.

0 commit comments

Comments
 (0)