From: Joey Hess Date: Wed, 18 Apr 2012 19:20:33 +0000 (-0400) Subject: fix example X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/30efedbbd07e5dd707cd98e89e6e0e4cc3dbbd02 fix example --- 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 --[[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: