mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-12-08 22:51:08 +01:00
Add make target to convert all SVGs to plain SVG before rendering
Adapt HTML and EPUB targets to run conversion target before rendering EPUB or HTML output. Fixes https://codeberg.org/openpgp/notes/issues/166 Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
parent
28dd67d7f7
commit
43b6080fbe
5 changed files with 20 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ steps:
|
|||
image: archlinux:latest
|
||||
commands:
|
||||
- pacman -Sy --needed --noconfirm archlinux-keyring
|
||||
- pacman -Syu --needed --noconfirm epubcheck make patch python-myst-parser python-sphinx
|
||||
- pacman -Syu --needed --noconfirm epubcheck inkscape make patch python-myst-parser python-sphinx
|
||||
# fix sphinx: https://github.com/sphinx-doc/sphinx/issues/11598
|
||||
- patch -Np1 -d /usr/lib/python3.11/site-packages/ -i "$(pwd)/book/patches/sphinx-11766.patch"
|
||||
- make -C book epub-check
|
||||
|
|
|
|||
|
|
@ -19,5 +19,5 @@ steps:
|
|||
image: archlinux:latest
|
||||
commands:
|
||||
- pacman -Sy --needed --noconfirm archlinux-keyring
|
||||
- pacman -Syu --needed --noconfirm lychee make python-myst-parser python-sphinx
|
||||
- pacman -Syu --needed --noconfirm inkscape lychee make python-myst-parser python-sphinx
|
||||
- make -C book html-linkcheck
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue