Skip to content

Fix the broken IRIS image and link in the README. - #26

Merged
roytsmart merged 1 commit into
mainfrom
fix/readme-iris-image
Sep 30, 2026
Merged

roytsmart merged 1 commit into
mainfrom
fix/readme-iris-image

Conversation

@roytsmart

Copy link
Copy Markdown
Contributor

The IRIS spectroheliogram in the README's Gallery section wasn't loading.

Changes

  • Image: jupyter-sphinx names the images it generates by cell position (index_<cell>_<output>.png). The docs gallery added in Add a gallery of example spectra and their colors to the docs. #22 inserted new cells before the IRIS example, so the figure moved from _images/index_1_1.png (now a 404) to _images/index_2_1.png. I checked that the new URL returns 200 and shows the IRIS Si IV spectroheliogram with its Doppler colorbar.
  • Link: [Interface Region Imaging Spectrograph](iris.lmsal.com) had no scheme, so GitHub resolved it as a path inside the repo. It now points to https://iris.lmsal.com.

I checked every other link in the README, and they all resolve.

Caveat

The image name is still tied to cell position, so adding a new executed cell above the IRIS example will break it again. Read the Docs builds only latest and stable, so the link can't be pinned to a tagged build either.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N6zUsPoxW26srMeWormpe8

The gallery added to the docs in #22 shifted the numbering of the images
generated by jupyter-sphinx, so the IRIS spectroheliogram moved from
`index_1_1.png` to `index_2_1.png`. The link to the IRIS website was also
missing its scheme, so GitHub resolved it as a relative path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N6zUsPoxW26srMeWormpe8
@codecov

codecov Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (03238fe) to head (7dd68fe).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          455       455           
=========================================
  Hits           455       455           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@roytsmart
roytsmart merged commit 0c31544 into main Sep 30, 2026
18 checks passed
@roytsmart
roytsmart deleted the fix/readme-iris-image branch September 30, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant