]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/map.mdwn
workaround noworkaround
[ikiwiki.git] / doc / plugins / map.mdwn
index f4dd91e48a3ca5113be1a462aae69324e91f813b..b164d5ca82bc8fc454aa2fdbf460f0188797115a 100644 (file)
@@ -1,5 +1,11 @@
 [[!template id=plugin name=map author="Alessandro Dotti Contra"]]
-[[!tag type/meta]]
+[[!tag type/meta type/widget]]
 
-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 !*/*/*"]]
+"""]]