diff options
Diffstat (limited to '')
-rw-r--r-- | tests/roots/test-ext-graphviz/conf.py | 2 | ||||
-rw-r--r-- | tests/roots/test-ext-graphviz/graph.dot | 3 | ||||
-rw-r--r-- | tests/roots/test-ext-graphviz/graph.xx.dot | 3 | ||||
-rw-r--r-- | tests/roots/test-ext-graphviz/index.rst | 33 |
4 files changed, 41 insertions, 0 deletions
diff --git a/tests/roots/test-ext-graphviz/conf.py b/tests/roots/test-ext-graphviz/conf.py new file mode 100644 index 0000000..cd04929 --- /dev/null +++ b/tests/roots/test-ext-graphviz/conf.py @@ -0,0 +1,2 @@ +extensions = ['sphinx.ext.graphviz'] +exclude_patterns = ['_build'] diff --git a/tests/roots/test-ext-graphviz/graph.dot b/tests/roots/test-ext-graphviz/graph.dot new file mode 100644 index 0000000..ca57244 --- /dev/null +++ b/tests/roots/test-ext-graphviz/graph.dot @@ -0,0 +1,3 @@ +digraph { + bar -> baz +} diff --git a/tests/roots/test-ext-graphviz/graph.xx.dot b/tests/roots/test-ext-graphviz/graph.xx.dot new file mode 100644 index 0000000..e5add5c --- /dev/null +++ b/tests/roots/test-ext-graphviz/graph.xx.dot @@ -0,0 +1,3 @@ +digraph { + BAR -> BAZ +} diff --git a/tests/roots/test-ext-graphviz/index.rst b/tests/roots/test-ext-graphviz/index.rst new file mode 100644 index 0000000..e6db9b2 --- /dev/null +++ b/tests/roots/test-ext-graphviz/index.rst @@ -0,0 +1,33 @@ +graphviz +======== + +.. digraph:: foo + :caption: caption of graph + + bar -> baz + +.. |graph| digraph:: bar + + bar -> baz + +Hello |graph| graphviz world + +.. digraph:: foo + :graphviz_dot: neato + :class: neato_graph + + baz -> qux + + +.. graphviz:: graph.dot + +.. digraph:: bar + :align: right + :caption: on *right* + + foo -> bar + +.. digraph:: foo + :align: center + + centered |