Skip to content

Add binder and thebe integration#20

Open
angelphanth wants to merge 5 commits into
mainfrom
18-add-binder-integration
Open

Add binder and thebe integration#20
angelphanth wants to merge 5 commits into
mainfrom
18-add-binder-integration

Conversation

@angelphanth
Copy link
Copy Markdown

Closes #18

Copilot summary:
This pull request adds support for interactive executable code cells in the documentation using Thebe, and improves integration with interactive notebook platforms like Google Colab and Binder. The documentation is updated with setup instructions for these platforms, and configuration changes are made to enable and configure Thebe, Binder, and Colab launch buttons. The changes also update repository references and add relevant dependencies.

Interactive notebook support and configuration:

  • Added detailed setup instructions for Colab, Binder, and Thebe in docs/README.md, including configuration examples for enabling launch buttons and interactive code cells in the documentation.
  • Enabled Thebe by adding sphinx_thebe to the list of Sphinx extensions in docs/conf.py, and configured thebe_config to make all code cells runnable. [1] [2]
  • Configured launch buttons in html_theme_options in docs/conf.py to support Colab, Binder, and Thebe, and set the notebook interface to JupyterLab.

Repository and dependency updates:

  • Updated repository URLs in docs/conf.py to point to biosustain/python_package instead of RasmussenLab/python_package.
  • Added sphinx-thebe to the documentation dependencies in pyproject.toml.

Interactive code cell enhancements:

  • Added an HTML button to activate Thebe in the tutorial notebook (docs/tutorial/tutorial.ipynb) and script (docs/tutorial/tutorial.py). [1] [2]
  • Updated notebook metadata to include Python language info.

@angelphanth angelphanth requested a review from enryH June 8, 2026 09:37
@angelphanth angelphanth linked an issue Jun 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add binder integration

1 participant