path: root/ikiwiki/directive/listdirectives.mdwn
diff options
Diffstat (limited to 'ikiwiki/directive/listdirectives.mdwn')
1 files changed, 20 insertions, 0 deletions
diff --git a/ikiwiki/directive/listdirectives.mdwn b/ikiwiki/directive/listdirectives.mdwn
new file mode 100644
index 0000000..b41d27a
--- /dev/null
+++ b/ikiwiki/directive/listdirectives.mdwn
@@ -0,0 +1,20 @@
+The `listdirectives` directive is supplied by the [[!iki plugins/listdirectives desc=listdirectives]] plugin.
+This directive generates a list of available
+ \[[!listdirectives]]
+There is one optional keyword argument, `generated`. Normally the
+`listdirectives` directive will list all built in directives and directives
+directly registered by plugins. With this keyword, `listdirectives` will
+also list directives generated later. For example, all [[shortcuts]] are
+directives generated in turn by the `shortcut` directive. They will only
+be listed if the `generated` argument is supplied.
+ \[[!listdirectives generated]]
+This extended list is often quite long, and often contains many
+undocumented directives.
+[[!meta robots="noindex, follow"]]