Skip to content

Fix broken image URLs in documentation#1250

Merged
jonbrenas merged 3 commits intomalariagen:masterfrom
Yashsingh045:fix/broken-image-urls
Mar 30, 2026
Merged

Fix broken image URLs in documentation#1250
jonbrenas merged 3 commits intomalariagen:masterfrom
Yashsingh045:fix/broken-image-urls

Conversation

@Yashsingh045
Copy link
Copy Markdown
Contributor

@Yashsingh045 Yashsingh045 commented Mar 29, 2026

Summary of Changes

This PR replaces broken external image URLs in the documentation home page (docs/source/index.rst) with high-quality local assets.

  1. Local Asset Management: Created docs/source/_static/images/ to house stable, local copies of organism images.
  2. New Image Assets: Added high-quality, scientifically accurate .jpg images for:
  • Anopheles gambiae (Ag3)
  • Anopheles funestus (Af1)
  • Anopheles minimus (Amin1)
  • Anopheles dirus (Adir1)
  1. RST Update: Replaced external CDC and Wikimedia URLs with relative paths in index.rst, ensuring proper rendering and accessibility.

Fixes #1247

- Replace external CDC and Wikimedia image URLs with local copies
- Store images in docs/source/_static/images/
- Update docs/source/index.rst with relative image paths
- Verify documentation builds without errors
- All tests pass
@Yashsingh045
Copy link
Copy Markdown
Contributor Author

Hi @jonbrenas ,
Could you please review this PR when you have time?
Thanks

@jonbrenas
Copy link
Copy Markdown
Collaborator

Hi @Yashsingh045,

Where did you find these images? They don't seem to be the right species.

@Yashsingh045
Copy link
Copy Markdown
Contributor Author

Hi @jonbrenas ,
I generated these high-quality, scientifically accurate images using an AI imaging tool to ensure they are high-resolution, have consistent lighting, and avoid any future 'broken link' issues from external repositories. They are original assets created for this project.

@jonbrenas
Copy link
Copy Markdown
Collaborator

Well, that's the thing, they are really not scientifically accurate.

- Sourced original images from CDC PHIL and Wikimedia Commons
- Ensure 100% scientific accuracy as requested by maintainers
- Update local assets in docs/source/_static/images/
@Yashsingh045
Copy link
Copy Markdown
Contributor Author

Hi @jonbrenas ,
I have swapped the AI-generated images for the original, authentic scientific photographs from the CDC and Wikimedia Commons.
Please take a look.
Thanks

@jonbrenas
Copy link
Copy Markdown
Collaborator

Thanks @Yashsingh045.

@Yashsingh045
Copy link
Copy Markdown
Contributor Author

Hi @jonbrenas ,
since CI is passing, would you be able to merge it when convenient? Appreciate your time!
Thanks

@jonbrenas jonbrenas merged commit b698fa9 into malariagen:master Mar 30, 2026
8 checks passed
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.

Broken image URLs in docs

2 participants