diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-04 16:33:58 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-04 16:33:58 -0400 |
commit | 9403045b7e48c4bae109bf7c2d1855c8769e2071 (patch) | |
tree | 63aabcd99be2d0101659772a7a61a4b081dde878 /doc/plugins/write.mdwn | |
parent | 66a7b49acb06e0e9b3d0b31d087202d3c81d85e9 (diff) | |
parent | d5357374c9def3cee23d46595f61795e08f4cc0b (diff) |
Merge branch 'dependency-types' into transitive-dependencies
Conflicts:
IkiWiki/Render.pm
Diffstat (limited to 'doc/plugins/write.mdwn')
-rw-r--r-- | doc/plugins/write.mdwn | 9 |
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 |