File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ TEMPLATE_DIR="workshops/docs/modules/notebooks/nbconvert_templates"
11
11
# --allow-errors and better test notebooks at build time
12
12
#
13
13
# ggplot/plotnine cells are sometimes slow, so we increase the default timeout
14
- EXECUTE=" --execute --allow-errors --ExecutePreprocessor.timeout=60 "
14
+ EXECUTE=" --execute --allow-errors --ExecutePreprocessor.timeout=240 "
15
15
16
16
generate_html=' no'
17
17
generate_instructor_notes=' no'
@@ -21,6 +21,11 @@ for f in ${INPUT_DIR}/*.ipynb; do
21
21
fn=$( basename -- " $f " )
22
22
name=" ${fn% .* } "
23
23
24
+ if [ -d ${OUT_DIR} /${name} _files ]; then
25
+ echo " Removing old generated images from ${OUT_DIR} /${name} _files/"
26
+ rm ${OUT_DIR} /${name} _files/*
27
+ fi
28
+
24
29
printf -v i " %02d" $index
25
30
26
31
if [[ generate_html == ' yes' ]]; then
You can’t perform that action at this time.
0 commit comments