[Doc] Fix rendering of Markdown docs, e.g. R doc (#5821)

This commit is contained in:
Philip Hyunsu Cho 2020-06-21 23:49:22 -07:00 committed by GitHub
parent 8104f10328
commit dcff96ed27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,6 @@ from subprocess import call
from sh.contrib import git
import urllib.request
from urllib.error import HTTPError
from recommonmark.parser import CommonMarkParser
import sys
import re
import os
@ -89,7 +88,8 @@ extensions = [
'sphinx.ext.napoleon',
'sphinx.ext.mathjax',
'sphinx.ext.intersphinx',
'breathe'
'breathe',
'recommonmark'
]
graphviz_output_format = 'png'
@ -104,10 +104,6 @@ breathe_default_project = "xgboost"
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
source_parsers = {
'.md': CommonMarkParser,
}
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
source_suffix = ['.rst', '.md']