[Doc] bug fix

This commit is contained in:
tangxifan 2021-02-07 12:06:23 -07:00
parent 8f43ab6ca4
commit 4551f13290
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ sphinxcontrib-bibtex<2.0.0
sphinxcontrib-yt
# Package required to convert svg for pdf builder
sphinxcontrib-svg2pdfconverter
sphinxcontrib-svg2pdfconverter[CairoSVG]
#sphinx-ext-imgconverter
#Work-around bug "AttributeError: 'Values' object has no attribute 'character_level_inline_markup'" with docutils 0.13.1

View File

@ -38,8 +38,8 @@ except ImportError:
have_sphinxcontrib_youtube = False
# Import sphinxcontrib.svg2pdfconverter
#have_sphinxcontrib_svg2pdfconverter = True
have_sphinx_ext_imgconverter = True
have_sphinxcontrib_svg2pdfconverter = True
#have_sphinx_ext_imgconverter = True
try:
import sphinxcontrib.svg2pdfconverter
# import sphinx.ext.imgconverter
@ -75,7 +75,7 @@ extensions = [
'sphinxcontrib.bibtex',
'sphinx.ext.autosectionlabel',
'sphinxcontrib.yt',
'sphinxcontrib.svg2pdfconverter',
'sphinxcontrib.cairosvgconverter',
# 'sphinx.ext.imgconverter',
]