aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-16 17:02:29 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-16 17:02:29 -0400
commitb14f84c4acccbc8450a9102b3b647013989b27bb (patch)
treebc02d7e1c6228775b46040de2945382324a0c4a9 /doc/plugins
parent6c5c0f8c682a2727bb71652668fef90a40d99f25 (diff)
downloadikiwiki-b14f84c4acccbc8450a9102b3b647013989b27bb.tar
ikiwiki-b14f84c4acccbc8450a9102b3b647013989b27bb.tar.gz
--gettime revamp
* Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/write.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 707622956..cf7044b2c 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -1085,6 +1085,13 @@ it up in the history.
It's ok if this is not implemented, and throws an error.
+#### `rcs_getmtime($)`
+
+This is used to get the page modification time for a file from the RCS, by
+looking it up in the history.
+
+It's ok if this is not implemented, and throws an error.
+
#### `rcs_receive()`
This is called when ikiwiki is running as a pre-receive hook (or