aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-04-18 15:20:33 -0400
committerJoey Hess <joey@kitenet.net>2012-04-18 15:20:33 -0400
commit30efedbbd07e5dd707cd98e89e6e0e4cc3dbbd02 (patch)
tree8763953df51daeeecdf5621f988aacb4bd971b63 /doc
parent169550a926f242ad9e15efd3a2c53b73b5841126 (diff)
downloadikiwiki-30efedbbd07e5dd707cd98e89e6e0e4cc3dbbd02.tar
ikiwiki-30efedbbd07e5dd707cd98e89e6e0e4cc3dbbd02.tar.gz
fix example
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/graphviz_demo_generates_empty_graph.mdwn3
-rw-r--r--doc/ikiwiki/directive/graph.mdwn4
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/bugs/graphviz_demo_generates_empty_graph.mdwn b/doc/bugs/graphviz_demo_generates_empty_graph.mdwn
index 239242bbd..5b96f148e 100644
--- a/doc/bugs/graphviz_demo_generates_empty_graph.mdwn
+++ b/doc/bugs/graphviz_demo_generates_empty_graph.mdwn
@@ -10,3 +10,6 @@ The following code in our sandbox generates an empty graph:
""""]]
It is the exact same thing that on the [[ikiwiki/directive/graph/]] directive documentation, from the [[plugins/graphviz]] plugin. This is ikiwiki 3.20120203 on Debian wheezy and graphviz is installed (2.26.3-10). Note that the first demo actually works. See <http://mesh.openisp.ca/sandbox> --[[anarcat]]
+
+> Looking at the example shows too many double quoted. [[fixed|done]]
+> --[[Joey]]
diff --git a/doc/ikiwiki/directive/graph.mdwn b/doc/ikiwiki/directive/graph.mdwn
index 8b066c2f2..7021e47fb 100644
--- a/doc/ikiwiki/directive/graph.mdwn
+++ b/doc/ikiwiki/directive/graph.mdwn
@@ -9,14 +9,14 @@ Nodes on the graph can link to external urls using regular graphviz syntax,
and a clickable imagemap will be created. As a special extension for
ikiwiki, [[WikiLinks|ikiwiki/wikilink]] can also be used. For example:
- \[[!graph src=""""
+ \[[!graph src="""
google [ href="http://google.com/" ]
sandbox [ href=\[[SandBox]] ]
help [ href=\[[ikiwiki/formatting]] ]
newpage [ href=\[[NewPage]] ]
google -> sandbox -> help -> newpage -> help -> google;
- """"]]
+ """]]
The `graph` directive supports the following parameters: