openstack-manuals/doc/contributor-guide/source/rst-conv/figures.rst
OlgaGusarenko c10da1ec38 [Contributor Guide] RST section finished
1. Adds the following subsections:
   * Introduction to RST
   * Tables
   * Images
   * Profiling
   * Lists
   * Inline markups
   * Decorations
   * Commenting
2. Restructures the toc
3. Creates separate files for each subsection included in the
RST-related folder for simpler maintenance.

Change-Id: I08568fb37755109552edf9692b8f259660550a69
2015-10-20 11:14:32 +03:00

491 B

Figures

Use the figure directive to include an image, figure, or screenshot into the documentation.

Syntax

.. figure:: file_name.file_extension
   :option: option_value

The figure directive supports the following options:

  • alt
  • height
  • figwidth
  • scale
  • align
  • target
  • figclass

For descriptions of the options and their possible values, refer to the Docutils documentation.