diff options
-rw-r--r-- | documentation/conf.py | 4 |
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 | ||
144 | from sphinx.builders.epub3 import Epub3Builder | ||
145 | Epub3Builder.supported_image_types = ['image/png', 'image/gif', 'image/jpeg'] | ||