docs: fix stale gallery link and broken DOI badge - #768
Merged
Conversation
… repo The notebooks submodule was renamed scverse/spatialdata-plot-notebooks -> scverse/spatialdata-plot-tutorials (see .gitmodules), but the gallery Sources link still pointed at the old repo. GitHub redirects it, so it was stale rather than broken.
The redirect-style badge (zenodo.org/badge/<repoid>.svg) returns a 302, which GitHub's camo image proxy renders as a broken image. Switch to the direct DOI badge form used by scverse/spatialdata (200 image/svg+xml, no redirect).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #768 +/- ##
==========================================
+ Coverage 79.66% 79.93% +0.26%
==========================================
Files 18 18
Lines 4672 4814 +142
Branches 1036 1069 +33
==========================================
+ Hits 3722 3848 +126
- Misses 599 604 +5
- Partials 351 362 +11 🚀 New features to boost your workflow:
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Two small docs fixes.
1. Stale gallery source link
The notebooks submodule was renamed
scverse/spatialdata-plot-notebooks->scverse/spatialdata-plot-tutorials(already reflected in.gitmodules), butdocs/gallery.mdstill linked the old repo in its Sources line. GitHub redirects the old URL, so the link worked but was stale.2. Broken DOI badge
The README DOI badge used the redirect-style form (
zenodo.org/badge/<repoid>.svg), which returns a302. GitHub's camo image proxy caches that redirect instead of following it to the SVG, so the badge renders as a broken image. Switched to the direct DOI badge form used byscverse/spatialdata(zenodo.org/badge/DOI/10.5281/zenodo.<id>.svg->200 image/svg+xml, no redirect).