Skip to content

Commit

Permalink
Add timetout extension and rebuild PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
darribas committed May 4, 2023
1 parent 1d6562e commit 7023b3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.PHONY: all website
leftparen:=(
rightparen:=)

# Run for example as: `make slide block=A no=i`
slide:
Expand Down Expand Up @@ -35,6 +37,9 @@ pdf:
# list folders with notebooks here. Notebooks must be present in _toc.yml.
cp -r content website/
# Build
## Trick from: https://github.com/executablebooks/jupyter-book/issues/593#issuecomment-737770758
sed -i "s/self._defaultNavigationTimeout = 30000/self._defaultNavigationTimeout = 30000000000/" \
/opt/conda/lib/python3.10/site-packages/pyppeteer/page.py
jupyter-book build website/ --builder pdfhtml
# Move over to docs
mv website/_build/pdf/book.pdf content/gds_course.pdf
Expand Down
Binary file modified content/gds_course.pdf
Binary file not shown.

0 comments on commit 7023b3a

Please sign in to comment.