From c3654760033c08e7ffa9337e05c48336032eacb9 Mon Sep 17 00:00:00 2001 From: Harrison Mutai Date: Fri, 28 Jul 2023 12:29:39 +0100 Subject: [PATCH] fix: use rsvg-convert as the conversion backend The auxiliary pdf build requires SVG files to be converted to pdf files. Use libRSVG as a light weight alternative to inkscape, and ensure it's installed in the build environment. Change-Id: I1fdb05fb2701fc28a04e210d5928f4387ca08613 Signed-off-by: Harrison Mutai --- .readthedocs.yaml | 1 + docs/conf.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e3a7ebf71..7b6a1f5cf 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,6 +15,7 @@ build: python: "3.10" apt_packages: - plantuml + - librsvg2-bin jobs: post_create_environment: - pip install poetry=="1.3.2" diff --git a/docs/conf.py b/docs/conf.py index 345f53bea..1549032ab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ extensions = [ "myst_parser", "sphinx.ext.autosectionlabel", "sphinxcontrib.plantuml", - "sphinxcontrib.inkscapeconverter", + "sphinxcontrib.rsvgconverter", ] # Add any paths that contain templates here, relative to this directory.