summaryrefslogtreecommitdiff
path: root/doc/plugins/map.mdwn
diff options
context:
space:
mode:
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 !*/*/*"]]
+"""]]