]> sipb.mit.edu Git - ikiwiki.git/blob - underlays/basewiki/directive/listdirectives.mdwn
move back demo and add example
[ikiwiki.git] / underlays / basewiki / directive / listdirectives.mdwn
1 The `listdirectives` directive is supplied by the [[!iki plugins/listdirectives]] plugin.
2
3 This directive generates a list of available
4 [[directives|ikiwiki/directive]].
5
6         \[[!listdirectives]]
7
8 There is one optional keyword argument, `generated`.  Normally the `listdirectives` directive will
9 list all built in directives and directives directly registered by plugins.  With this keyword,
10 `listdirectives` will also list directives generated later.  For example, all [[shortcuts]] are
11 directives generated in turn by the `shortcut` directive.  They will only be listed if the `generated` argument is
12 supplied.
13
14     \[[!listdirectives generated]]
15
16 This extended list is often quite long, and often contains many undocumented directives.