summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-root/images.txt
blob: a07429a45013482685b0b883ba1e367ebc3299c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Sphinx image handling
=====================

.. first, a simple test with direct filename
.. image:: img.png

.. an image with path name (relative to this directory!)
.. image:: subdir/img.png
   :height: 100
   :width: 200

.. an image with unspecified extension
.. image:: img.*

.. an image with subdir and unspecified extension
.. image:: subdir/simg.*

.. an SVG image (for HTML at least)
.. image:: svgimg.*

.. an SVG image using width with units
.. image:: svgimg.*
   :width: 2cm

.. an SVG image using height with units
.. image:: svgimg.*
   :height: 2cm

.. an image with more than 1 dot in its file name
.. image:: img.foo.png