We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25439a7 commit 362634fCopy full SHA for 362634f
jupyter_book/pdf.py
@@ -51,7 +51,7 @@ async def _html_to_pdf(html_file, pdf_file):
51
# Waiting for networkidle seems to let mathjax render
52
page.on("console", lambda msg: print(f"Console: {msg.type}: {msg.text}"))
53
await page.goto(f"file:///{html_file}", timeout=100000)
54
- await page.wait_for_load_state('networkidle', timeout=100000)
+ await page.wait_for_load_state('networkidle')
55
# Give it *some* margins to make it look a little prettier
56
# I just made these up
57
page_margins = {"left": "0in", "right": "0in", "top": ".5in", "bottom": ".5in"}
0 commit comments