diff options
| author | Georg Brandl <georg@python.org> | 2011-01-08 15:39:35 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-01-08 15:39:35 +0100 |
| commit | 41ae36fe22686928eb8b65278e7392354779e6fb (patch) | |
| tree | 13d0ee0b6f9fad0fd033bc9b6d399f7add7b7c84 /doc/ext/graphviz.rst | |
| parent | 4728d8379beb1fb91c096f0973864fc246a0dc29 (diff) | |
| download | sphinx-41ae36fe22686928eb8b65278e7392354779e6fb.tar.gz | |
Fix interpolation error, encode inserted caption strings and add the caption in HTML output too.
Diffstat (limited to 'doc/ext/graphviz.rst')
| -rw-r--r-- | doc/ext/graphviz.rst | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/ext/graphviz.rst b/doc/ext/graphviz.rst index 3a6d7c30..9b34b48f 100644 --- a/doc/ext/graphviz.rst +++ b/doc/ext/graphviz.rst @@ -73,10 +73,15 @@ It adds these directives: the graphviz code. .. versionadded:: 1.1 - All three directives support an ``inline`` flag that controls - paragraph breaks in the output. When set, the graph is inserted - into the current paragraph. If the flag is not given, paragraph - breaks are introduced before and after the image (the default). + All three directives support an ``inline`` flag that controls paragraph + breaks in the output. When set, the graph is inserted into the current + paragraph. If the flag is not given, paragraph breaks are introduced before + and after the image (the default). + +.. versionadded:: 1.1 + All three directives support a ``caption`` option that can be used to give a + caption to the diagram. Naturally, diagrams marked as "inline" cannot have a + caption. There are also these new config values: |
