diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css new file mode 100644 index 000000000..cf5d7c12c --- /dev/null +++ b/docs/source/_static/custom.css @@ -0,0 +1,5 @@ +/* Fix version switcher overflow */ +.bd-sidebar .version-switcher__menu { + max-height: 300px; + overflow-y: auto; +} diff --git a/docs/source/_static/mi b/docs/source/_static/mi new file mode 100644 index 000000000..cf1b971cd --- /dev/null +++ b/docs/source/_static/mi @@ -0,0 +1,2 @@ +Anopheles_funestus.jpg +Anopheles_minimus.jpg diff --git a/docs/source/conf.py b/docs/source/conf.py index 4695b6872..ea067aa11 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -46,5 +46,8 @@ ], } html_static_path = ["_static"] +html_css_files = [ + "custom.css", +] html_logo = "_static/logo.svg" html_favicon = "_static/favicon.ico" diff --git a/docs/source/index.rst b/docs/source/index.rst index f9658a78e..6e4eb761f 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -25,7 +25,7 @@ API documentation *Anopheles funestus* subgroup. - .. image:: https://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Anopheles_Funetus.jpg/640px-Anopheles_Funetus.jpg + .. image::_static/mi/Anopheles_funestus.jpg .. grid-item-card:: ``Amin1`` :link: Amin1 @@ -33,7 +33,7 @@ API documentation *Anopheles minimus*. - .. image:: https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Anopheles_minimus_1.jpg/640px-Anopheles_minimus_1.jpg + .. image:: _static/mi/Anopheles_minimus.jpg .. grid-item-card:: ``Adir1`` :link: Adir1 diff --git a/docs/source_static b/docs/source_static new file mode 100644 index 000000000..ef87106bf --- /dev/null +++ b/docs/source_static @@ -0,0 +1,2 @@ +Anopheles funestus.webp +Anopheles minimus.webp