diff --git a/doc/conf.py b/doc/conf.py index 584e23060dbb..deb22096df2f 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -48,6 +48,7 @@ 'sphinx_gallery.gen_gallery', 'matplotlib.sphinxext.mathmpl', 'matplotlib.sphinxext.plot_directive', + 'sphinxcontrib.inkscapeconverter', 'sphinxext.custom_roles', 'sphinxext.github', 'sphinxext.math_symbol_table', @@ -69,6 +70,7 @@ def _check_dependencies(): "PIL.Image": 'pillow', "sphinx_copybutton": 'sphinx_copybutton', "sphinx_gallery": 'sphinx_gallery', + "sphinxcontrib.inkscapeconverter": 'sphinxcontrib-svg2pdfconverter', } missing = [] for name in names: diff --git a/requirements/doc/doc-requirements.txt b/requirements/doc/doc-requirements.txt index df54a5bcbfc0..193c888b2f95 100644 --- a/requirements/doc/doc-requirements.txt +++ b/requirements/doc/doc-requirements.txt @@ -12,6 +12,7 @@ colorspacious ipython ipywidgets numpydoc>=0.8 +sphinxcontrib-svg2pdfconverter>=1.1.0 sphinx-gallery>=0.7 sphinx-copybutton scipy