diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2018-07-23 19:49:34 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2018-07-23 19:49:34 +0000 |
commit | 61c7ee42e2db478bc7027acb98b78162e71be3a7 (patch) | |
tree | 8c28c3285d88e7a14641540f9964aff151ad4015 /llvm/docs/conf.py | |
parent | 00dc23f26e174842173c288e50732e6ed4491a31 (diff) | |
download | bcm5719-llvm-61c7ee42e2db478bc7027acb98b78162e71be3a7.tar.gz bcm5719-llvm-61c7ee42e2db478bc7027acb98b78162e71be3a7.zip |
[docs] Add support for Markdown documentation in Sphinx
Differential Revision: https://reviews.llvm.org/D44910
llvm-svn: 337730
Diffstat (limited to 'llvm/docs/conf.py')
-rw-r--r-- | llvm/docs/conf.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/docs/conf.py b/llvm/docs/conf.py index ce7df14ac3a..0fccb50c46b 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' |