]> sipb.mit.edu Git - ikiwiki.git/commitdiff
move example
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Sep 2008 21:41:33 +0000 (17:41 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Sep 2008 21:41:33 +0000 (17:41 -0400)
doc/plugins/linkmap.mdwn
underlays/basewiki/directive/linkmap.mdwn

index b52a87da9b5be2a5bb47b115068bf37945439266..89cb9d8aeb5ff8735ca1dd551bc6787c483f3673 100644 (file)
@@ -2,6 +2,12 @@
 [[!tag type/meta]]
 [[!tag type/slow]]
 
 [[!tag type/meta]]
 [[!tag type/slow]]
 
-This plugin implements the [[ikiwiki/directive/linkmap]] [[ikiwiki/directive]].
-The directive uses [graphviz](http://www.graphviz.org/) to generate a graph showing the links between a
-set of pages in the wiki.
+This plugin provides the [[ikiwiki/directive/linkmap]] [[ikiwiki/directive]].
+It uses [graphviz](http://www.graphviz.org/) to generate a graph showing the
+links between a set of pages in the wiki.
+
+[[!if test="enabled(linkmap)" then="""
+Here is an example link map, of the index page and all pages it links to:
+
+[[!linkmap pages="index or (backlink(index) and !*.png)"]]
+"""]]
index 8466e0465ad810c3884935632e805e9856fdbe1e..e28e1aba27401b78f95c17b86a3db20df9f28167 100644 (file)
@@ -1,7 +1,7 @@
 The `linkmap` directive is supplied by the [[!iki plugins/linkmap]] plugin.
 
 The `linkmap` directive is supplied by the [[!iki plugins/linkmap]] plugin.
 
-This directive uses [graphviz](http://www.graphviz.org/) to generate a graph showing the links between a
-set of pages in the wiki. Example usage:
+This directive uses [graphviz](http://www.graphviz.org/) to generate a
+graph showing the links between a set of pages in the wiki. Example usage:
 
        \[[!linkmap pages="* and !blog/* and !*/Discussion"]]
 
 
        \[[!linkmap pages="* and !blog/* and !*/Discussion"]]
 
@@ -20,9 +20,3 @@ directive:
 * `height`, `width` - Limit the size of the map to a given height and width,
   in inches. Both must be specified for the limiting to take effect, otherwise
   the map's size is not limited.
 * `height`, `width` - Limit the size of the map to a given height and width,
   in inches. Both must be specified for the limiting to take effect, otherwise
   the map's size is not limited.
-
-[[!if test="enabled(linkmap)" then="""
-Here is an example link map, of the index page and all pages it links to:
-
-[[!linkmap pages="index or (backlink(index) and !*.png)"]]
-"""]]