fix example

master
Joey Hess 2012-04-18 15:20:33 -04:00
parent 169550a926
commit 30efedbbd0
2 changed files with 5 additions and 2 deletions

View File

@ -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]]

View File

@ -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: