2008-08-04 17:01:15 +00:00
|
|
|
Sphinx image handling
|
|
|
|
|
=====================
|
|
|
|
|
|
|
|
|
|
.. first, a simple test with direct filename
|
|
|
|
|
.. image:: img.png
|
|
|
|
|
|
|
|
|
|
.. a non-existing image with direct filename
|
|
|
|
|
.. image:: foo.png
|
|
|
|
|
|
|
|
|
|
.. an image with path name (relative to this directory!)
|
|
|
|
|
.. image:: subdir/img.png
|
2008-12-08 08:52:55 +01:00
|
|
|
:height: 100
|
|
|
|
|
:width: 200
|
2008-08-04 17:01:15 +00:00
|
|
|
|
|
|
|
|
.. an image with unspecified extension
|
|
|
|
|
.. image:: img.*
|
|
|
|
|
|
|
|
|
|
.. a non-existing image with .*
|
|
|
|
|
.. image:: foo.*
|
|
|
|
|
|
|
|
|
|
.. a non-local image URI
|
|
|
|
|
.. image:: http://www.python.org/logo.png
|
2008-11-06 10:36:56 +01:00
|
|
|
|
|
|
|
|
.. an image with subdir and unspecified extension
|
|
|
|
|
.. image:: subdir/simg.*
|
2009-02-18 00:52:12 +01:00
|
|
|
|
|
|
|
|
.. an SVG image (for HTML at least)
|
|
|
|
|
.. image:: svgimg.*
|