Skip to content

Conversation

guenp
Copy link
Contributor

@guenp guenp commented Jun 28, 2025

Adds support for sphinx-thebe so you can run the code from within the JupyterBook HTML assets.

image image

@guenp guenp changed the title Add thebe Live Code inside of HTML assets Add thebe Live Code Jun 28, 2025
Copy link
Contributor

@danielballan danielballan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that this does not require much additional code and only one additional dependency. Not bad!

The serve pixi command is nice too.

@danielballan danielballan requested review from rossbar and bsipocz June 30, 2025 16:38
Copy link
Member

@rossbar rossbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took me so long to get to this!

This is excellent - very minimal changeset to introduce this nice new feature, and I definitely think sphinx-thebe is the way to go for the v1 (i.e. non-mystmd) build. Thanks a ton @guenp !

@bsipocz bsipocz added the type: Enhancement New feature or request label Sep 25, 2025
@rossbar rossbar merged commit 40bdd68 into scientific-python:main Sep 25, 2025
9 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants