ProjectPythia / cookbook-gallery

Root site for the ProjectPythiaCookbooks GitHub Pages
https://cookbooks.projectpythia.org
MIT License
1 stars 13 forks source link

Display DOI badges on gallery #163

Closed brian-rose closed 1 year ago

brian-rose commented 1 year ago

Addresses #162

This PR fetches the GitHub ID of each cookbook repo and uses them to construct links to the latest Zenodo DOI and associated badge. The badge is displayed on the gallery card next to the binder link.

Also some light refactoring of the gallery generation code.

github-actions[bot] commented 1 year ago

👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. 🔍 Git commit SHA: 5d2e58e00ec4dfe2387ad35ee9ed0333513306a3 ✅ Deployment Preview URL: https://ProjectPythia.github.io/cookbook-gallery/_preview/163