From eeb78d24fdafdaf65179a26af334002b1071bba6 Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@indiscale.com> Date: Thu, 29 Aug 2024 12:24:46 +0200 Subject: [PATCH] DOC: Add alt text to images --- src/doc/converters/index.rst | 2 ++ src/doc/converters/standard_converters.rst | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/doc/converters/index.rst b/src/doc/converters/index.rst index 943ff131..38fc1133 100644 --- a/src/doc/converters/index.rst +++ b/src/doc/converters/index.rst @@ -7,6 +7,8 @@ existing StructureElements, Converters create a tree of StructureElements. .. image:: ../img/converter.png :height: 170 + :alt: Converters are Python classes that tell the crawler how to + interprete StructureElements. Each StructureElement in the tree has a set of properties, organized as key-value pairs. diff --git a/src/doc/converters/standard_converters.rst b/src/doc/converters/standard_converters.rst index 7eb8de68..3dc3c882 100644 --- a/src/doc/converters/standard_converters.rst +++ b/src/doc/converters/standard_converters.rst @@ -182,6 +182,8 @@ with value "Silvia Scientist": .. image:: ../img/properties-from-dict-records-author.png :height: 210 + :alt: A Record "New Name" and an author Record with full_name + "Silvia Scientist" are generated and filled automatically. Note how the different dictionary keys are handled differently depending on their types: scalar and list values are understood @@ -216,6 +218,8 @@ property: .. image:: ../img/properties-from-dict-records-person.png :height: 200 + :alt: A new Person Record is created which is referenced as an + author. For the time being, only the parents of the referenced record can be set via this option. More complicated treatments can be implemented -- GitLab