Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The build on
mainfailed because we were not pinning the version of the jupyter book theme declared and upstream had a new release.This upgrades all packages to work with the new theme, and then also pins the theme to the latest version so it doesn't break on new themes in the future.
cc @dzole0311
PR message from Claude:
Fix docs deploy: upgrade mystmd and pin the MyST theme
Problem
The docs deploy was failing at the theme step:
Cause
docs/myst.ymlsettemplate: book-theme, which downloads the newest theme every time the site builds. But mystmd was locked at 1.10.1 inpackage-lock.json. myst-theme released a new major version (myst-to-react@2.0.0, now at 2.1.1), and mystmd 1.10.1 can only run themes up to 1.4.1.Local builds still worked because
docs/_build/templatesheld an older cached theme. CI starts with no cache, so it downloaded 2.x and failed. Clearingdocs/_build/templatesreproduces the error locally.Fix
^1.8.3to^1.13.0(locked at 1.13.0), which supports the 2.x theme.docs/myst.ymlto themyst-to-react@2.1.1release URL instead ofbook-theme. The build now uses only the theme version inmyst.ymland the mystmd version in the lockfile, so a new theme release can't break CI. When you want a newer theme, update the template URL and mystmd together.Verification
myst build --htmlwithBASE_URL=/manywidgets: all 36 pages build, and the static-export plugin exports every widget as before.