| 1 |
Sphinx image handling |
| 2 |
===================== |
| 3 |
|
| 4 |
.. first, a simple test with direct filename |
| 5 |
.. image:: img.png |
| 6 |
|
| 7 |
.. an image with path name (relative to this directory!) |
| 8 |
.. image:: subdir/img.png |
| 9 |
:height: 100 |
| 10 |
:width: 200 |
| 11 |
|
| 12 |
.. an image with unspecified extension |
| 13 |
.. image:: img.* |
| 14 |
|
| 15 |
.. an image with subdir and unspecified extension |
| 16 |
.. image:: subdir/simg.* |
| 17 |
|
| 18 |
.. an SVG image (for HTML at least) |
| 19 |
.. image:: svgimg.* |
| 20 |
|
| 21 |
.. an SVG image using width with units |
| 22 |
.. image:: svgimg.* |
| 23 |
:width: 2cm |
| 24 |
|
| 25 |
.. an SVG image using height with units |
| 26 |
.. image:: svgimg.* |
| 27 |
:height: 2cm |
| 28 |
|
| 29 |
.. an image with more than 1 dot in its file name |
| 30 |
.. image:: img.foo.png |