Skip to content

Refactor docs from jupyter-execute to myst-nb#103

Merged
JoelLucaAdams merged 2 commits intomainfrom
docs_jupyter-execute_to_myst-nb
Feb 26, 2026
Merged

Refactor docs from jupyter-execute to myst-nb#103
JoelLucaAdams merged 2 commits intomainfrom
docs_jupyter-execute_to_myst-nb

Conversation

@JoelLucaAdams
Copy link
Collaborator

Remove the old jupyter-execute which hasn't had a new release since 2023 and replace it with myst-nb which is the more modern approach and integrates nicely with the existing myst-parser.

Additionally removed myst-parser and replaced with myst-nb which installs it automatically. Same has been done in the conf.py since myst-nb has conflicts with myst-parser.

One of the nice side effects of this change is that if you have the MyST-Markdown extension installed the new code-cells actually have syntax highlighting!

Copy link
Collaborator

@LiamPattinson LiamPattinson left a comment

Choose a reason for hiding this comment

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

Looks good, a nice straightforward update!

"xarray>=2024.1.0",
"dask>=2024.7.1",
"epydeck~=1.0"
"epydeck~=1.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Tut tut, this was a nice atomic PR until this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You'll have to ask the Ruff gods as to why a comma here is required!

@JoelLucaAdams JoelLucaAdams merged commit 91653a9 into main Feb 26, 2026
15 checks passed
@JoelLucaAdams JoelLucaAdams deleted the docs_jupyter-execute_to_myst-nb branch February 26, 2026 17:05
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.

2 participants