[Doc] Try use image converter instead of svg2pdf which requires more dependencies
This commit is contained in:
parent
05fea49b87
commit
6b6f4bc763
|
@ -12,7 +12,8 @@ sphinxcontrib-bibtex<2.0.0
|
|||
sphinxcontrib-yt
|
||||
|
||||
# Package required to convert svg for pdf builder
|
||||
sphinxcontrib-svg2pdfconverter
|
||||
#sphinxcontrib-svg2pdfconverter
|
||||
sphinxcontrib-ext-imgconverter
|
||||
|
||||
#Work-around bug "AttributeError: 'Values' object has no attribute 'character_level_inline_markup'" with docutils 0.13.1
|
||||
#See:
|
||||
|
|
|
@ -38,11 +38,14 @@ except ImportError:
|
|||
have_sphinxcontrib_youtube = False
|
||||
|
||||
# Import sphinxcontrib.svg2pdfconverter
|
||||
have_sphinxcontrib_svg2pdfconverter = True
|
||||
#have_sphinxcontrib_svg2pdfconverter = True
|
||||
have_sphinxcontrib_ext_imgconverter = True
|
||||
try:
|
||||
import sphinxcontrib.svg2pdfconverter
|
||||
# import sphinxcontrib.svg2pdfconverter
|
||||
import sphinxcontrib.ext.imgconverter
|
||||
except ImportError:
|
||||
have_sphinxcontrib_svg2pdfconverter = False
|
||||
# have_sphinxcontrib_svg2pdfconverter = False
|
||||
have_sphinxcontrib_ext_imgconverter = False
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue