Skip to content

Commit 2dcfcbe

Browse files
add new options for wkhtmltopdf 0.12.6
1 parent edaf1fe commit 2dcfcbe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/run-in-container/genpdf.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ function convert_to_pdf(){
7171
mkdocs build
7272
cd site
7373
fix_footnote_links
74-
wkhtmltopdf --javascript-delay 3000 \
74+
wkhtmltopdf --enable-local-file-access \
75+
--allow "." \
76+
--disable-smart-shrinking \
77+
--javascript-delay 6000 \
7578
--outline-depth 6 \
7679
--outline \
7780
--print-media-type \

0 commit comments

Comments
 (0)