setup: | |
python -m venv .venv && \ | |
. .venv/bin/activate && \ | |
pip install -r requirements.txt | |
build_html: | |
@echo "Warning: Jupyter widgets state might not be saved correctly when converting to HTML directly." | |
@echo " Please ensure you have run all cells in 'notebook.ipynb' using Jupyter Notebook" | |
@echo " before running 'make build_html'. Widgets state saving is not reliable with VSCode." | |
. .venv/bin/activate && \ | |
jupyter nbconvert --to html --execute --output index --template classic notebook.ipynb | |
run: | |
. .venv/bin/activate && jupyter notebook | |