diff --git a/Makefile b/Makefile index f024e76..88c798a 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,8 @@ doc: # Generate Sphinx HTML documentation, including API docs # We use --set-kernel with jupytext to make it possible for binder to pick it up @for demo in ${DEMOS}; do \ jupytext --to=ipynb --set-kernel=python3 demo/$$demo.py --output=docs/$$demo.ipynb ;\ - jupyter book build -W docs ;\ done + jupyter book build -W docs clean-pytest: # Remove output from pytest rm -rf .pytest_cache diff --git a/docs/_config.yml b/docs/_config.yml index 15df70a..b9be07b 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -9,8 +9,7 @@ copyright: "2022" # Force re-execution of notebooks on each build. # See https://jupyterbook.org/content/execute.html execute: - execute_notebooks: force - + execute_notebooks: cache # Information about where the book exists on the web repository: