ENH: wire the JupyterLite build into the docs (JupyterLite split 5/5) - #14157
Open
natinew77-creator wants to merge 10 commits into
Open
ENH: wire the JupyterLite build into the docs (JupyterLite split 5/5)#14157natinew77-creator wants to merge 10 commits into
natinew77-creator wants to merge 10 commits into
Conversation
Enables jupyterlite_sphinx, stages the data the browser notebooks read, prepends the setup cell to each notebook copy, and leaves the launch badge off the pages that cannot run in the browser.
It sits with "Get data and triage examples to run" rather than after test-doc. Same effect, since all it has to do is precede make html, and it keeps the step away from the wheel build's insertion point.
natinew77-creator
marked this pull request as ready for review
August 17, 2026 20:18
natinew77-creator
requested review from
agramfort,
drammock and
larsoner
as code owners
August 17, 2026 20:18
find_wheels() returns Path objects since the wheel build moved to pathlib,
so the log line was rendering as [PosixPath('...')].
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.
Part 5 of the split of #13925, and the last one. Parts 1 to 4 are #14128, #14135, #14144 and #14150.
Wires the previous four together: enables
jupyterlite_sphinx, serves the data subset the browser notebooks read, and prepends the setup cell to each notebook copy. It also carries the list of pages that do not get an "Open in JupyterLite" badge, since sphinx-gallery adds one to every example. Only the badge is dropped, the notebook source is untouched.build_docsis red until the earlier parts land, anddefaultjust mirrors it. It stops at the new "Ensure MNE data" step, which callsmne.datasets.lite_datafrom #14128, and after thatconf.pyneeds the wheel builder from #14135 and the setup cell from #14150. Every other check is green, since nothing but Sphinx readsconf.py.Checked on #13925, where the same wiring builds with every page executed and no sphinx warnings.