Skip to content

Conversation

@nilodna
Copy link
Contributor

@nilodna nilodna commented Oct 2, 2025

Add at the top of all jupyter notebook examples page a button to binder or a direct link to the source code fixes #2206

EDIT VeckoTheGecko: This PR also removes the tooling for zipping up notebook examples, which is no longer needed.

@erikvansebille
Copy link
Member

Thanks for this work, @nilodna. Nice!

Do you know if it's possible to add a bit larger vspace between the binder badge and the title of the Notebook? They're very close together now (see screenshot below)
Screenshot 2025-10-03 at 07 34 07

@nilodna
Copy link
Contributor Author

nilodna commented Oct 3, 2025

The code is a HTML snippet, so it should be easy @erikvansebille. I can do this today during the presentations.

@github-project-automation github-project-automation bot moved this from Backlog to Ready in Parcels development Oct 3, 2025
@VeckoTheGecko VeckoTheGecko marked this pull request as ready for review October 3, 2025 11:42
@VeckoTheGecko
Copy link
Contributor

Did a quick check, and it looks like we don't want READTHEDOCS_VERSION but we want READTHEDOCS_GIT_IDENTIFIER.

updating now :)

Copy link
Contributor

@VeckoTheGecko VeckoTheGecko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final screenshot:

Image

Thanks @nilodna ! This is great 🚀

@VeckoTheGecko VeckoTheGecko changed the title Add open binder or download link to examples Add open binder and download link pre-amble (remove zip tooling) Oct 3, 2025
@VeckoTheGecko VeckoTheGecko merged commit 7c1177a into Parcels-code:v4-dev Oct 3, 2025
10 checks passed
@github-project-automation github-project-automation bot moved this from Ready to Done in Parcels development Oct 3, 2025
VeckoTheGecko added a commit to VeckoTheGecko/parcels that referenced this pull request Oct 8, 2025
…cels-code#2293)

Co-authored-by: Nick Hodgskin <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
VeckoTheGecko added a commit that referenced this pull request Oct 8, 2025
…) (#2316)

Co-authored-by: Danilo A. Silva <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@VeckoTheGecko VeckoTheGecko mentioned this pull request Nov 3, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add download/open in Binder pre-amble for notebooks

3 participants