[Doc] Try to use inkscape converter as imgconverter converted SVG to black images
This commit is contained in:
parent
455e8a322c
commit
3c1a538f7a
|
@ -11,6 +11,9 @@ sphinxcontrib-bibtex<2.0.0
|
|||
# Package required to embed youtube video
|
||||
sphinxcontrib-yt
|
||||
|
||||
# Package required to convert SVG for latex building
|
||||
sphinxcontrib-svg2pdfconverter
|
||||
|
||||
#Work-around bug "AttributeError: 'Values' object has no attribute 'character_level_inline_markup'" with docutils 0.13.1
|
||||
#See:
|
||||
# * https://github.com/sphinx-doc/sphinx/issues/3951
|
||||
|
|
|
@ -27,8 +27,8 @@ import sphinx_rtd_theme
|
|||
import sphinxcontrib.bibtex
|
||||
# For embedded youtube
|
||||
import sphinxcontrib.yt
|
||||
# For converting SVG to PNG
|
||||
import sphinx.ext.imgconverter
|
||||
# For converting SVG to PNG using inkscape
|
||||
import sphinxcontrib.inkscapeconverter
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
|
@ -58,7 +58,7 @@ extensions = [
|
|||
'sphinxcontrib.bibtex',
|
||||
'sphinx.ext.autosectionlabel',
|
||||
'sphinxcontrib.yt',
|
||||
'sphinx.ext.imgconverter',
|
||||
'sphinxcontrib.inkscapeconverter',
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
|
|
Loading…
Reference in New Issue