Fix docs generation to not replance unchanged images.

This commit is contained in:
Revar Desmera 2019-05-02 12:29:30 -07:00
parent a6a2ed520b
commit f52d5418d2

View file

@ -18,7 +18,7 @@ rm -f tmpscad*.scad
for lib in $PREVIEW_LIBS; do
lib="$(basename $lib .scad)"
mkdir -p images/$lib
rm -f images/$lib/*.png images/$lib/*.gif
# rm -f images/$lib/*.png images/$lib/*.gif
echo ../scripts/docs_gen.py ../$lib.scad -o $lib.scad.md -c -i -I images/$lib/
../scripts/docs_gen.py ../$lib.scad -o $lib.scad.md -c -i -I images/$lib/ || exit 1
open -a Typora $lib.scad.md