From 54831a9a1a4c6ab859a1118e793cbb414e29af38 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 17 Sep 2020 15:57:03 -0400 Subject: [PATCH] fix: use svg to pdf converter instead of original solution --- docs/conf.py | 2 +- docs/requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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