File tree 2 files changed +14
-7
lines changed
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,7 @@ stage("Build and Publish") {
32
32
33
33
sh label :" Build HTML" , script :""" set -ex
34
34
conda activate ${ ENV_NAME}
35
- d2lbook build html
36
- for fn in `find _build/html/_images/ -iname '*.svg' `; do
37
- # rsvg-convert installed on ubuntu changes unit from px to pt, so evening no
38
- # change of the size makes the svg larger...
39
- rsvg-convert -z 1 -f svg -o tmp.svg $fn
40
- mv tmp.svg $fn
41
- done
35
+ ./build_html.sh
42
36
"""
43
37
44
38
sh label :" Build PDF" , script :""" set -ex
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ d2lbook build html
4
+
5
+ for fn in ` find _build/html/_images/ -iname ' *.svg' ` ; do
6
+ if [[ $fn == * ' qr_' * ]] ; then # || [[ $fn == *'output_'* ]]
7
+ continue
8
+ fi
9
+ # rsvg-convert installed on ubuntu changes unit from px to pt, so evening no
10
+ # change of the size makes the svg larger...
11
+ rsvg-convert -z 1 -f svg -o tmp.svg $fn
12
+ mv tmp.svg $fn
13
+ done
You can’t perform that action at this time.
0 commit comments