Skip to content

Noob in the browser - pyodide runner for the docs - #252

Merged
sneakers-the-rat merged 29 commits into
mainfrom
pyodide-runner-2
Jul 31, 2026
Merged

Noob in the browser - pyodide runner for the docs#252
sneakers-the-rat merged 29 commits into
mainfrom
pyodide-runner-2

Conversation

@sneakers-the-rat

@sneakers-the-rat sneakers-the-rat commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

so this is a somewhat big lift since we don't have any of the control built for local running yet, but i thought this would be so cool i wanted to go ahead with it maybe a bit prematurely.

so this basically does what it says! adds a pyodide runner to the JS code and hooks it into the docs so we can make all the docs examples actually run!

this is not written with perf in mind yet, when we get to an actual local runner we'll need to handle events a lot better than this so we don't end up serializing and then dropping like gigabytes of data that nobody requested to look at, but we'll get to that when we get there.

opening as a draft because i need to figure out some readthedocs things i think, but then once that's sorted the rtd preview should demo the feature.


📚 Documentation preview 📚: https://noob--252.org.readthedocs.build/en/252/

@coveralls

coveralls commented Jul 25, 2026

Copy link
Copy Markdown

Coverage Status

coverage: 83.14% (-0.07%) from 83.213% — pyodide-runner-2 into main

@codspeed-hq

codspeed-hq Bot commented Jul 25, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 8 untouched benchmarks
⏩ 8 skipped benchmarks1


Comparing pyodide-runner-2 (a85d916) with main (7acb004)

Open in CodSpeed

Footnotes

  1. 8 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@sneakers-the-rat
sneakers-the-rat marked this pull request as ready for review July 25, 2026 02:58
@sneakers-the-rat
sneakers-the-rat merged commit d5bea76 into main Jul 31, 2026
30 of 31 checks passed
@sneakers-the-rat
sneakers-the-rat deleted the pyodide-runner-2 branch July 31, 2026 22:24
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