sphinx-extensions2 / sphinx-subfigure

A sphinx extension to create figures with multiple images
https://sphinx-subfigure.readthedocs.io
MIT License
12 stars 4 forks source link

side-by-side images in the restructuredtext by sphinx-python #13

Open Ailsa90 opened 1 year ago

Ailsa90 commented 1 year ago

I want to have two images side by side. Would you please give me an example about what the text should be like in the restructured text and in the conf.py?

chrisjsewell commented 1 year ago

Heya, was there not enough information in the documentation? its basically just

.. subfigure:: A|B

   .. image:: imageA.png

   .. image:: imageB.png
Ailsa90 commented 1 year ago

@chrisjsewell Thanks a lot. I did as you suggested, the images are rendered as follows: image But I would like to have the following layout: image So what should I do on the subfigure?