paulopontesm commited on
Commit
e839d4d
·
1 Parent(s): cf119b0

render some widgets on html

Browse files
Files changed (3) hide show
  1. Makefile +6 -4
  2. index.html +0 -0
  3. notebook.ipynb +0 -0
Makefile CHANGED
@@ -4,9 +4,11 @@ setup:
4
  pip install -r requirements.txt
5
 
6
  build_html:
7
- python -m venv .venv && \
8
- jupyter nbconvert --execute notebook.ipynb --to notebook --inplace --ExecutePreprocessor.timeout=-1 --EmbedWidgetsPreprocessor.enabled=True && \
9
- jupyter nbconvert --to html --output index --template classic notebook.ipynb
 
 
10
 
11
  run:
12
- . .venv/bin/activate && jupyter notebook
 
4
  pip install -r requirements.txt
5
 
6
  build_html:
7
+ @echo "Warning: Jupyter widgets state might not be saved correctly when converting to HTML directly."
8
+ @echo " Please ensure you have run all cells in 'notebook.ipynb' using Jupyter Notebook"
9
+ @echo " before running 'make build_html'. Widgets state saving is not reliable with VSCode."
10
+ . .venv/bin/activate && \
11
+ jupyter nbconvert --to html --execute --output index --template classic notebook.ipynb
12
 
13
  run:
14
+ . .venv/bin/activate && jupyter notebook
index.html CHANGED
The diff for this file is too large to render. See raw diff
 
notebook.ipynb CHANGED
The diff for this file is too large to render. See raw diff