diff options
Diffstat (limited to 'poky/documentation/conf.py')
-rw-r--r-- | poky/documentation/conf.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/poky/documentation/conf.py b/poky/documentation/conf.py index 8e15fdc869..8e0847938e 100644 --- a/poky/documentation/conf.py +++ b/poky/documentation/conf.py @@ -79,6 +79,7 @@ extlinks = { 'yocto_ab': ('https://autobuilder.yoctoproject.org%s', None), 'yocto_docs': ('https://docs.yoctoproject.org%s', None), 'yocto_git': ('https://git.yoctoproject.org/cgit/cgit.cgi%s', None), + 'yocto_sstate': ('http://sstate.yoctoproject.org%s', None), 'oe_home': ('https://www.openembedded.org%s', None), 'oe_lists': ('https://lists.openembedded.org%s', None), 'oe_git': ('https://git.openembedded.org%s', None), @@ -139,3 +140,7 @@ latex_elements = { 'passoptionstopackages': '\PassOptionsToPackage{bookmarksdepth=5}{hyperref}', 'preamble': '\setcounter{tocdepth}{2}', } + +# Make the EPUB builder prefer PNG to SVG because of issues rendering Inkscape SVG +from sphinx.builders.epub3 import Epub3Builder +Epub3Builder.supported_image_types = ['image/png', 'image/gif', 'image/jpeg'] |