From b817147065b0c4116f19303412268d920e3e1230 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 23 Aug 2010 13:07:28 +0000 Subject: #443: Allow referencing external graphviz files. --- doc/ext/graphviz.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/ext') diff --git a/doc/ext/graphviz.rst b/doc/ext/graphviz.rst index 3741cec6..de6e03e2 100644 --- a/doc/ext/graphviz.rst +++ b/doc/ext/graphviz.rst @@ -29,6 +29,17 @@ It adds these directives: :confval:`graphviz_output_format`). In LaTeX output, the code will be rendered to an embeddable PDF file. + You can also embed external dot files, by giving the file name as an + argument to :rst:dir:`graphviz` and no additional content:: + + .. graphviz:: external.dot + + As for all file references in Sphinx, if the filename is absolute, it is + taken as relative to the source directory. + + .. versionchanged:: 1.1 + Added support for external files. + .. rst:directive:: graph -- cgit v1.2.1