Files
pybricks-api/source/images/render.sh
T
Laurens Valk 924e866539 doc: separate images and labels
- remove quick draft images
- push plain screenshots and separate plain text svg files
- Update label content based on user feedback
- Cleaner label layout
- Use same fonts in labels as in text + better scaling
- basic automation of inkscape in travis; this probably needs some work. It  should at least be moved into the make doc instead
2019-02-08 12:54:57 +01:00

7 lines
204 B
Bash
Executable File

#!/usr/bin/env bash
for filenamedotext in *.svg; do
filename=$(echo "$filenamedotext" | cut -f 1 -d '.')
inkscape --file=$filename.svg --export-area-drawing --export-png=build/$filename.png
done