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

@ -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'