aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/map.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:44:46 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-11 17:44:46 -0400
commit798034ad465eaf0fe07a5a0ff120fef800a26760 (patch)
tree5811b19d494c39925373ba6ddab1e101c2770d70 /doc/plugins/map.mdwn
parentbb9e397c08fa436dcb489202b695ae516220c588 (diff)
downloadikiwiki-798034ad465eaf0fe07a5a0ff120fef800a26760.tar
ikiwiki-798034ad465eaf0fe07a5a0ff120fef800a26760.tar.gz
re-add demo, was lost in will's changes
Diffstat (limited to 'doc/plugins/map.mdwn')
-rw-r--r--doc/plugins/map.mdwn10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/plugins/map.mdwn b/doc/plugins/map.mdwn
index f4dd91e48..8f5a9f15e 100644
--- a/doc/plugins/map.mdwn
+++ b/doc/plugins/map.mdwn
@@ -1,5 +1,11 @@
[[!template id=plugin name=map author="Alessandro Dotti Contra"]]
[[!tag type/meta]]
-This plugin implements the [[ikiwiki/directive/map]] [[ikiwiki/directive]].
-The directive generates a hierarchical page map for the wiki.
+This plugin provides the [[ikiwiki/directive/map]] [[ikiwiki/directive]],
+which generates a hierarchical page map for the wiki.
+
+[[!if test="enabled(map)" then="""
+Here's an example map, for the plugins section of this wiki:
+
+[[!map pages="(plugins or plugins/*) and !*/*/*"]]
+"""]]