[Doc] Fix rendering of Markdown docs, e.g. R doc (#5821)
This commit is contained in:
parent
8104f10328
commit
dcff96ed27
@ -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']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user