Convert SVG images to PNG

RTFD generates PDF documentation, but it lacks images since
they are in incompatible format. This patch adds tox target
svg2png that converts images and replaces references to
wild-card.

Change-Id: I0672328fb8012d34dc91867aa49f19cfbd19890d
This commit is contained in:
Ilya Shakhat
2015-12-16 17:04:17 +03:00
parent cbbf5ac873
commit 23a5b53fc9
9 changed files with 12 additions and 4 deletions

3
tools/svg2png.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
for f in doc/source/images/*svg; do cairosvg ${f} -o ${f/\.svg/\.png} ; done