summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-03 15:37:57 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-03 15:37:57 -0400
commitfd9d9680242c0d1c835fc56f969f8e2a2618a5de (patch)
tree0c4f4a207cf4eaf0a89a9c637d9e4c59401937a9 /doc/plugins
parent5c9f65a67294e3e7b2759306c182b7eedc93093d (diff)
document add_depends dependency type interface
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/write.mdwn9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 668f8d8b6..c244c1f2f 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -609,10 +609,17 @@ page created from it. (Ie, it appends ".html".)
Use this when constructing the filename of a html file. Use `urlto` when
generating a link to a page.
-#### `add_depends($$)`
+#### `add_depends($$;@)`
Makes the specified page depend on the specified [[ikiwiki/PageSpec]].
+Additional named parameters can be passed, to indicate what type of
+dependency this is.
+
+Currently, only a "content" parameter is specified. If set to 0, the
+dependency does not involve the content of pages matching the PageSpec, but
+only their existence.
+
#### `pagespec_match($$;@)`
Passed a page name, and [[ikiwiki/PageSpec]], returns true if the