X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9921a4a8a1a696ce69acce5e14943f0149d926ff..339f15d6f4a2d22014e2d38b7459de8a28c5fa8f:/doc/ikiwiki/directive/map.mdwn diff --git a/doc/ikiwiki/directive/map.mdwn b/doc/ikiwiki/directive/map.mdwn index 543470864..4b6499547 100644 --- a/doc/ikiwiki/directive/map.mdwn +++ b/doc/ikiwiki/directive/map.mdwn @@ -1,4 +1,4 @@ -The `map` directive is supplied by the [[!iki plugins/map]] plugin. +The `map` directive is supplied by the [[!iki plugins/map desc=map]] plugin. This directive generates a hierarchical page map for the wiki. Example usage: @@ -9,10 +9,12 @@ the wiki are mapped. By default, the names of pages are shown in the map. The `show` parameter can be used to show the titles or descriptions of pages instead (as set by -the [[meta]] plugin). For example: +the [[meta]] directive). For example: \[[!map pages="* and !blog/* and !*/Discussion" show=title]] + \[[!map pages="* and !blog/* and !*/Discussion" show=description]] + Hint: To limit the map to displaying pages less than a certain level deep, use a [[ikiwiki/PageSpec]] like this: `pages="* and !*/*/*"`