[PATCH] D75284: [Sphinx] Adjust for source_parsers deprecation in Sphinx 3.0
Jonas Devlieghere via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 18 14:17:29 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9989e8167958: [Sphinx] Adjust for source_parsers deprecation in Sphinx 3.0 (authored by JDevlieghere).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75284/new/
https://reviews.llvm.org/D75284
Files:
llvm/docs/conf.py
Index: llvm/docs/conf.py
===================================================================
--- llvm/docs/conf.py
+++ llvm/docs/conf.py
@@ -26,15 +26,16 @@
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo']
+extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'recommonmark']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix of source filenames.
-source_suffix = ['.rst', '.md']
-
-source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
+source_suffix = {
+ '.rst': 'restructuredtext',
+ '.md': 'markdown',
+}
# The encoding of source files.
#source_encoding = 'utf-8-sig'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75284.271850.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200618/d92be061/attachment.bin>
More information about the llvm-commits
mailing list