Skip to content

Commit c1d8118

Browse files
committed
Fix broken image URLs in documentation (issue malariagen#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
1 parent 858c06f commit c1d8118

5 files changed

Lines changed: 16 additions & 4 deletions

File tree

76.7 KB
Loading
65.6 KB
Loading
84.3 KB
Loading
73.9 KB
Loading

docs/source/index.rst

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,43 @@ API documentation
1717

1818
*Anopheles gambiae* complex.
1919

20-
.. image:: https://upload.wikimedia.org/wikipedia/commons/0/0a/AnophelesGambiaemosquito.jpg
20+
.. image:: ./_static/images/anopheles_gambiae.jpg
21+
:alt: Anopheles gambiae mosquito
22+
:align: center
23+
:width: 100%
2124

2225
.. grid-item-card:: ``Af1``
2326
:link: Af1
2427
:link-type: doc
2528

2629
*Anopheles funestus* subgroup.
2730

28-
.. image:: https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Anopheles_Funetus.jpg/640px-Anopheles_Funetus.jpg
31+
.. image:: ./_static/images/anopheles_funestus.jpg
32+
:alt: Anopheles funestus mosquito
33+
:align: center
34+
:width: 100%
2935

3036
.. grid-item-card:: ``Amin1``
3137
:link: Amin1
3238
:link-type: doc
3339

3440
*Anopheles minimus*.
3541

36-
.. image:: https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Anopheles_minimus_1.jpg/640px-Anopheles_minimus_1.jpg
42+
.. image:: ./_static/images/anopheles_minimus.jpg
43+
:alt: Anopheles minimus mosquito
44+
:align: center
45+
:width: 100%
3746

3847
.. grid-item-card:: ``Adir1``
3948
:link: Adir1
4049
:link-type: doc
4150

4251
*Anopheles dirus* complex.
4352

44-
.. image:: https://phil.cdc.gov//PHIL_Images/8777/8777_lores.jpg
53+
.. image:: ./_static/images/anopheles_dirus.jpg
54+
:alt: Anopheles dirus mosquito
55+
:align: center
56+
:width: 100%
4557

4658
Documentation for the `Pf7 <https://malariagen.github.io/parasite-data/pf7/api.html>`_ (*Plasmodium falciparum*)
4759
and `Pv4 <https://malariagen.github.io/parasite-data/pv4/api.html>`_ (*Plasmodium vivax*) APIs is also available,

0 commit comments

Comments
 (0)