Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 776 Bytes

README.rst

File metadata and controls

32 lines (22 loc) · 776 Bytes

sphinxcontrib-gravizo

https://travis-ci.org/sphinx-contrib/gravizo.svg?branch=master

Embed PlantUML, DOT, etc. diagrams in your documentation using Gravizo.

Examples

Inline graph, show as png:

.. gravizo:: png
    @startuml
    Alice -> Bob: Authentication Request
    Bob --> Alice: Authentication Response

    Alice -> Bob: Another authentication Request
    Alice <-- Bob: Another authentication Response
    @enduml

Load from a file, show as svg:

.. gravizo:: ./path/to/graph.puml svg

Links