-
Notifications
You must be signed in to change notification settings - Fork 18
Added Jupyter Lite to Website for in browser python. #843
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
Open
MicahGale
wants to merge
27
commits into
develop
Choose a base branch
from
jupyterlite
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
"subcommits" Tried to move RTD to using Make Add commands to build and copy HTML documentation Fixed document hierarchy. Trying oneliners? Folders ain't there! not oneliner? Ensure output directory exists before copying HTML files. I can linux Maybe? Sigghhh we want content. Try using pre-build magic Removed redundant build steps for HTML documentation.
191e075 to
efb3b50
Compare
This reverts commit f8b61b4.
Collaborator
Author
|
One annoying thing I dealt with is that the "file storage" is in the browser cache, and as long as the cache is valid it doesn't refresh the files from the remote. Therefore, to update the files with a change you have to delete the offline storage: https://jupyterlite.readthedocs.io/en/stable/troubleshooting.html#clear-the-browser-data |
Draft
tjlaboss
reviewed
Nov 4, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
feature request
An issue that improves the user interface.
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.
Pull Request Checklist for MontePy
Description
This adds jupyterlite to our website, and makes so users can run montepy demos without "installing" python.
This adds new packages:
jupyterlitethe jupyter framework built on python webassemblyjupyterlite-pyodide-kernerla python kernel built on webassemblypyodide-kernelis only a vanilla python version, and cannot persistently install anything. Rather every instance has to install packages from wheels. Usually via%pip install <foo>. I have added making montepy wheels to the site deploy process. This is provided alongsidejupyterliteand is the default installer beforepypi. This ensures that there is a match between the kernel installed version, and the documented version for a given site. I also updated the demos to use%pip install montepy.The site has jupyterlite integrated in the following ways:
<iframe>repliteinstance to the starting guide. This is essentially a web basedipythoninstance.Fixes #796
General Checklist
blackversion 25.LLM Disclosure
Were any large language models (LLM or "AI") used in to generate any of this code?
Documentation Checklist
First-Time Contributor Checklist
pyproject.tomlif you wish to do so.Additional Notes for Reviewers
Ensure that:
📚 Documentation preview 📚: https://montepy--843.org.readthedocs.build/en/843/