mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 14:55:51 +00:00
Add interactivity with sphinx-thebe
This commit is contained in:
parent
f046c98bbf
commit
0c00a4cdce
2 changed files with 19 additions and 2 deletions
|
|
@ -3,11 +3,22 @@ author: Caspar Jungbacker
|
||||||
logo: images/TUDelft_logo_rgb.png
|
logo: images/TUDelft_logo_rgb.png
|
||||||
|
|
||||||
execute:
|
execute:
|
||||||
execute_notebooks: auto
|
execute_notebooks: 'off'
|
||||||
|
|
||||||
|
launch_buttons:
|
||||||
|
thebe: true
|
||||||
|
|
||||||
sphinx:
|
sphinx:
|
||||||
extra_extensions:
|
extra_extensions:
|
||||||
- sphinx_inline_tabs
|
- sphinx_inline_tabs
|
||||||
- jupyterlite_sphinx
|
- jupyterlite_sphinx
|
||||||
|
- sphinx.ext.imgconverter
|
||||||
|
- download_link_replacer
|
||||||
|
- jupyterbook_patches
|
||||||
config:
|
config:
|
||||||
jupyterlite_config: jupyterlite-config.json
|
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"]
|
||||||
|
|
@ -1,4 +1,10 @@
|
||||||
jupyter-book
|
jupyter-book
|
||||||
sphinx-inline-tabs
|
sphinx-inline-tabs
|
||||||
jupyterlite-xeus-python
|
jupyterlite-xeus-python
|
||||||
jupyterlite-sphinx
|
jupyterlite-sphinx
|
||||||
|
|
||||||
|
--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/11239/packages/pypi/simple
|
||||||
|
sphinx-thebe == 0.2.1000
|
||||||
|
--extra-index-url https://gitlab.tudelft.nl/api/v4/projects/17983/packages/pypi/simple
|
||||||
|
jupyterbook_patches == 0.1.2
|
||||||
|
download_link_replacer @ git+https://gitlab.tudelft.nl/mude/sphinx-download-link-replacer@dlr-0.1.2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue