diff options
author | Harrison Mutai <harrison.mutai@arm.com> | 2023-07-28 12:29:39 +0100 |
---|---|---|
committer | Harrison Mutai <harrison.mutai@arm.com> | 2023-07-28 12:37:49 +0100 |
commit | c3654760033c08e7ffa9337e05c48336032eacb9 (patch) | |
tree | 3840aa8c8b9304df1637cf0202b05295d7658a06 | |
parent | f3c80668c82361472bc3bea4737d59edca3e075b (diff) |
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 <harrison.mutai@arm.com>
-rw-r--r-- | .readthedocs.yaml | 1 | ||||
-rw-r--r-- | docs/conf.py | 2 |
2 files changed, 2 insertions, 1 deletions
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. |