]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/write.mdwn
po plugin: initial documentation, along with huge TODO list
[git.ikiwiki.info.git] / doc / plugins / write.mdwn
index daf70c8e23393d5b860b30e324523da6f46c45ab..6d2622272f01eaa5ed65d0fc496e886633fdf8c7 100644 (file)
@@ -428,6 +428,15 @@ describes the plugin as a whole. For example:
   and undef if a rebuild could be needed in some circumstances, but is not
   strictly required.
 
+### targetpage
+
+       hook(type => "targetpage", id => "foo", call => \&targetpage);
+
+This hook can be used to override the name of the file a page should
+be compiled into. 
+
+It should return the target filename.
+
 ## Plugin interface
 
 To import the ikiwiki plugin interface: