0
votes

In a Sphinx RST documentation, I am trying to put an image next to a hyperlink. Similar to this image here:

image 1

I have tried a good amount of combinations and different options for

`Text <https://hyper.link>`_

and

.. image:: https://image.url

Searching the reStructuredText documentation didn't help me either. In theory I can use HTML inside this documentation file, but do now have any knowledge in that field.

1

1 Answers

2
votes

Use a substitution to replace |foo| with an image.

- `Deutsch <https://german.org/>`_ |tag|
- `French <https://french.org/>`_ |tag|

.. |tag| image:: https://image.url