Docs: add support for Markdown to Sphinx

This commit is contained in:
Mike Hearn 2018-05-11 17:31:42 +02:00
parent 2c16de8ec4
commit 0dd0657194
2 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,10 @@
## The following requirements were added by pip freeze:
alabaster==0.7.8
Babel==2.3.4
certifi==2018.4.16
chardet==3.0.4
CommonMark==0.5.5
docutils==0.12
future==0.16.0
idna==2.6
imagesize==0.7.1
Jinja2==2.8
@ -14,9 +15,10 @@ Pillow==5.1.0
Pygments==2.2.0
pyparsing==2.2.0
pytz==2016.4
recommonmark==0.4.0
reportlab==3.4.0
requests==2.18.4
rst2pdf==0.93
rst2pdf==0.93.dev0
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.7.4

View File

@ -41,8 +41,10 @@ templates_path = ['_templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ['.rst', '.md']
source_parsers = {
'.md': 'recommonmark.parser.CommonMarkParser',
}
# The encoding of source files.
#source_encoding = 'utf-8-sig'