Add interactivity with sphinx-thebe

This commit is contained in:
Tom van Woudenberg 2024-02-27 10:00:11 +01:00
parent f046c98bbf
commit 0c00a4cdce
2 changed files with 19 additions and 2 deletions

View file

@ -3,11 +3,22 @@ author: Caspar Jungbacker
logo: images/TUDelft_logo_rgb.png
execute:
execute_notebooks: auto
execute_notebooks: 'off'
launch_buttons:
thebe: true
sphinx:
extra_extensions:
- sphinx_inline_tabs
- jupyterlite_sphinx
- sphinx.ext.imgconverter
- download_link_replacer
- jupyterbook_patches
config:
jupyterlite_config: jupyterlite-config.json
html_js_files:
- https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js
thebe_config:
use_thebe_lite: true
exclude_patterns: ["**/_*.yml", "**/*.md", "**/*.ipynb"]