]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive.mdwn
patch plugin documentation to refer to directive pages
[ikiwiki.git] / doc / ikiwiki / directive.mdwn
index 9a01aaa825e22e3f41177b36adf75ae3b7be92ee..4ab9a2076489377ea6fd0ab24ccf33659c5cca17 100644 (file)
@@ -16,7 +16,7 @@ A directive does not need to all be on one line, it can be
 wrapped to multiple lines if you like:
        
        \[[!directive foo="baldersnatch"
-       bar="supercalifragalisticexpealadocious" baz=11]]
+       bar="supercalifragilisticexpialidocious" baz=11]]
 
 Also, multiple lines of *quoted* text can be used for a value.
 To allow quote marks inside the quoted text, delimit the block
@@ -37,3 +37,15 @@ above as the preferred alternative.  However, ikiwiki still supports wikis
 using the older syntax, if the `prefix_directives` option is not enabled.
 For backward compatibility with existing wikis, this option currently
 defaults to off, so ikiwiki supports the old syntax.
+
+[[!if test="enabled(shortcut)" then="""
+The [[/ikiwiki/directive/shortcut]] directive allows defining simple wikilinks to
+remote wikis.  See the [[shortcuts]] page for a list of these shortcuts.
+"""]]
+
+[[!if test="enabled(listdirectives)" then="""
+Here is a list of available (non-[[shortcut|shortcuts]]) directives:
+
+[[!listdirectives]]
+"""]]
+