In the Sphinx, I'm trying to do something pretty basic. I have some images, but I prefer to keep them pretty small, and I want to allow the user to click on them to get a larger image. I did not find a syntactic way to combine image: or figure: with ref: or link:
.. image:: _static/my_image_small.png
and I have in the same folder my_image_large.png .
If you come up with a solution, should the larger image just be a file with an explicit link to it, or create a reSt file with the optional image: tag? An alternative would be to play with the image size in the reSt file, but I still don't know how to create a link from a small image to a large image.
Thanks for helping me.
python-sphinx
johan
source share