Skip to content

Commit 388b971

Browse files
committed
first_files
1 parent 5cd6608 commit 388b971

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

notebooks/notes.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Had to add this to make webpdf exports work in jupyterlab
2+
echo 'c.WebPDFExporter.disable_sandbox = True' > ~/.jupyter/jupyter_nbconvert_config.py && touch ~/.jupyter/jupyter_lab_config.py && echo 'c.WebPDFExporter.disable_sandbox = True' >> ~/.jupyter/jupyter_lab_config.py
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
for filename in *.ipynb; do
4+
jupyter nbconvert $filename --to webpdf --allow-chromium-download
5+
jupyter nbconvert $filename --to notebook \
6+
--ClearOutputPreprocessor.enabled=True --output ../github_notebooks/$filename
7+
done

0 commit comments

Comments
 (0)