summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--documentation/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/documentation/conf.py b/documentation/conf.py
index 8e15fdc869..25ff290ae2 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -139,3 +139,7 @@ latex_elements = {
139 'passoptionstopackages': '\PassOptionsToPackage{bookmarksdepth=5}{hyperref}', 139 'passoptionstopackages': '\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
140 'preamble': '\setcounter{tocdepth}{2}', 140 'preamble': '\setcounter{tocdepth}{2}',
141} 141}
142
143# Make the EPUB builder prefer PNG to SVG because of issues rendering Inkscape SVG
144from sphinx.builders.epub3 import Epub3Builder
145Epub3Builder.supported_image_types = ['image/png', 'image/gif', 'image/jpeg']