mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Support the image directive.
This commit is contained in:
13
doc/rest.rst
13
doc/rest.rst
@@ -205,6 +205,19 @@ The directive content follows after a blank line and is indented relative to the
|
||||
directive start.
|
||||
|
||||
|
||||
Images
|
||||
------
|
||||
|
||||
reST supports an image directive, used like so::
|
||||
|
||||
.. image:: filename
|
||||
(options)
|
||||
|
||||
When used within Sphinx, the ``filename`` given must be relative to the source
|
||||
file, and Sphinx will automatically copy image files over to a subdirectory of
|
||||
the output directory on building.
|
||||
|
||||
|
||||
Footnotes
|
||||
---------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user