]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/write.mdwn
Fix documentation of anonok_pagespec. Closes: #521793
[git.ikiwiki.info.git] / doc / plugins / write.mdwn
index acf9a2cdde3becebf0c4e70776bd8bc81889f6fe..696bc6bc37bb910af72e256b90d2250159965c7e 100644 (file)
@@ -90,11 +90,6 @@ function is passed no values. It's ok for the function to call
 
 This hook is called just before ikiwiki scans the wiki for changed files.
 It's useful for plugins that need to create or modify a source page. The
-
-
-
-
-
 function is passed no values.
 
 ### needsbuild
@@ -194,9 +189,14 @@ The function is passed named parameters: "page" and "content" and should
 return the htmlized content.
 
 If `hook` is passed an optional "keepextension" parameter, set to a true
-value, then this extension will not be stripped from the source filename when
+value, then the extension will not be stripped from the source filename when
 generating the page.
 
+If `hook` is passed an optional "noextension" parameter, set to a true
+value, then the id parameter specifies not a filename extension, but
+a whole filename that can be htmlized. This is useful for files
+like `Makefile` that have no extension.
+
 ### pagetemplate
 
        hook(type => "pagetemplate", id => "foo", call => \&pagetemplate);