diff --git a/docs/conf.py b/docs/conf.py index d3f73613e..506e6f36a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,7 @@ import subprocess # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['breathe', 'sphinx.ext.imgconverter'] +extensions = ['breathe', 'sphinxcontrib.rsvgconverter'] breathe_projects = {'pybind11': '.build/doxygenxml/'} breathe_default_project = 'pybind11' diff --git a/docs/requirements.txt b/docs/requirements.txt index f4c3dc2e0..6e43af053 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -3,3 +3,4 @@ commonmark==0.9.1 recommonmark==0.6.0 sphinx==3.2.1 sphinx_rtd_theme==0.5.0 +sphinxcontrib-svg2pdfconverter==1.1.0