summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dowland <jon@alcopop.org>2009-05-16 14:01:12 +0100
committerJon Dowland <jon@alcopop.org>2009-05-16 14:01:12 +0100
commit335462c05d22defe020941d2d32b2f18e975d80c (patch)
tree1306b092ae3756a919dae30c6963cf32e0dde9a6
parent83e3fc3af031abfd0321fadf0a64bbf6ecee5886 (diff)
document longname parameter
-rw-r--r--doc/plugins/write.mdwn3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 28da243d5..d0f6a09e1 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -198,6 +198,9 @@ 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.
+If `hook` is passed an optional "longname" parameter, this value is used
+when prompting a user to choose a page type on the edit page form.
+
### pagetemplate
hook(type => "pagetemplate", id => "foo", call => \&pagetemplate);