-
Notifications
You must be signed in to change notification settings - Fork 4
Add links to Binder #42
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Binder integration for running Julia tutorials by introducing Binder configuration files, updating tutorial metadata to include Binder links, and adding GitHub Actions workflows for converting notebooks and building the Binder container.
- Added and configured Binder-related files (postBuild, apt.txt, .jupyter config).
- Updated multiple .qmd tutorial files to include a clickable Binder link.
- Introduced workflows to synchronize notebooks and build the container image.
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| postBuild | Adds a bash script to install Quarto, code‑server, and configure VS Code, supporting the Binder build environment. |
| apt.txt | Adds a dependency (zip) required for the Binder environment. |
| QuantumToolbox.jl/*.qmd | Updates tutorial files to include a new “other-links” section with Binder links. |
| HierarchicalEOM.jl/*.qmd | Updates tutorial files to include a Binder link for interactive notebooks. |
| .jupyter/jupyter_notebook_config.py | Configures a VS Code server via Jupyter’s ServerProxy ensuring integration with Binder. |
| .github/workflows/build-notebooks.yml | Introduces an action for converting .qmd files to .ipynb notebooks and synchronizing them with the notebooks branch. |
| .github/workflows/build-notebooks-container.yml | Adds an action to build the Binder container image from the notebooks branch. |
|
994ff8d to
4b96597
Compare
Checklist
Thank you for contributing to Tutorials for Quantum Toolbox in
Julia! Please make sure you have finished the following tasks before opening the PR.datewere modified for new or updated tutorials.Version Informationsection was added at the end and displays the output ofversioninfo().make render.Request for a review after you have completed all the tasks. If you have not finished them all, you can also open a Draft Pull Request to let the others know this on-going work.
Description
This PR introduces the feature of running the notebooks in Binder, as also discussed in the Quarto Documentation. This would help people approaching to QuantumToolbox.jl for the first time.
This PR adds several configuration files, used by Binder to build, together with two GitHub Action files
.qmdfiles in theQuantumToolbox.jlandHierarchicalEOM.jlfolders into.ipynbnotebook files. Then, it pushes all the.ipynbfiles and the Binder configuration files into thenotebooksbranch.notebooksbranch. This should not be done frequently, as Binder would keep pulling the container. For the moment we can activate this action manually when we think it is needed.