Files
Linux/Documentation/doc-guide/hello.dot
T
Markus Heiser db6ccf23e8 docs-rst: automatically convert Graphviz and SVG images
This patch brings scalable figure, image handling and a concept to
embed *render* markups:

* DOT (http://www.graphviz.org)
* SVG

For image handling use the 'image' replacement::

    .. kernel-image::  svg_image.svg
       :alt:    simple SVG image

For figure handling use the 'figure' replacement::

    .. kernel-figure::  svg_image.svg
       :alt:    simple SVG image

       SVG image example

Embed *render* markups (or languages) like Graphviz's **DOT** is
provided by the *render* directive.::

  .. kernel-render:: DOT
     :alt: foobar digraph
     :caption: Embedded **DOT** (Graphviz) code.

     digraph foo {
      "bar" -> "baz";
     }

The *render* directive is a concept to integrate *render* markups and
languages, yet supported markups:

* DOT: render embedded Graphviz's **DOT**
* SVG: render embedded Scalable Vector Graphics (**SVG**)

Cc: Jani Nikula <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Tested-by: Mauro Carvalho Chehab <[email protected]>
Tested-by: Daniel Vetter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]> (v2 - v5)
Signed-off-by: Markus Heiser <[email protected]> (v1, v6)
Signed-off-by: Jonathan Corbet <[email protected]>
2017-03-09 02:59:26 -07:00

4 lines
33 B
Plaintext