aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/conf.py
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-08-06 00:38:31 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-08-06 00:38:31 +0000
commit1230d22c5996043ea28092f130a8e2af33e5252b (patch)
tree1cee16a915793641081e769395138459e884b3f9 /llvm/docs/conf.py
parent7022b5369d48ce9c281c748c6db3979923f945ad (diff)
downloadllvm-1230d22c5996043ea28092f130a8e2af33e5252b.zip
llvm-1230d22c5996043ea28092f130a8e2af33e5252b.tar.gz
llvm-1230d22c5996043ea28092f130a8e2af33e5252b.tar.bz2
[docs] Reinstate r337730 - Add support for Markdown documentation in
Sphinx. We think the bot is updated now, so trying this again. I'm landing it (with permission) as Michael is at a con at the moment. Actual patch largely by Michael Spencer. Differential Revision: https://reviews.llvm.org/D44910 llvm-svn: 338977
Diffstat (limited to 'llvm/docs/conf.py')
-rw-r--r--llvm/docs/conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/docs/conf.py b/llvm/docs/conf.py
index a20742b..8ead258 100644
--- a/llvm/docs/conf.py
+++ b/llvm/docs/conf.py
@@ -31,7 +31,9 @@ extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo']
templates_path = ['_templates']
# The suffix of source filenames.
-source_suffix = '.rst'
+source_suffix = ['.rst', '.md']
+
+source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
# The encoding of source files.
#source_encoding = 'utf-8-sig'