-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Clean Up How Current Pyodide Version is Specified #1349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have a branch that starts on this, but am running into a pain of a roadblock. The the MyST substitution rules are not assessed within code blocks, and code blocks contain the vast majority of the usage of the pyodide version number. Any advice for how to work around this or other ways to inject substitutions aside from |
I haven't tried it out myself, but sphinx substitution extensions looks promising. It's not entirely clear to me whether it with code fences and not just blocks... might be worth a play though. |
Yeah, that looked promising, though I can't get it to work. Since most of the docs are written in markdown, I suspect that they get bypassed the Sphinx substitution. |
Hmmm yeah, it looks like there's an open PR from a couple years ago on that extension about extending it to markdown/code fences, that never got finished... |
Looks like a pretty small patch, so maybe we could pick it up and finish it. |
The docs have moved elsewhere, and the default version of Pyodide is set by the version of Polyscript we import. I think the only place where versioning issues may live on is in the examples, and that's being handled/tracked by #1798. Closing as obsolete. |
@JeffersGlass The latest release of |
As @hood commented on #1346, the version number and URL for the version of Pyodide we're using is specified in roughly a dozen places throughout the docs and source at the moment. It would be nice to only specify Pyodide:
so that there are only four edits needed to bump the version of Pyodide.
The text was updated successfully, but these errors were encountered: