master
Joey Hess 2009-10-05 15:40:18 -04:00
parent e7144e918f
commit 61a36de432
2 changed files with 5 additions and 6 deletions

View File

@ -65,4 +65,4 @@ Downsides here:
modification to plugins/brokenlinks causes an unnecessary update of modification to plugins/brokenlinks causes an unnecessary update of
plugins, and could be solved by adding more dependency types.) plugins, and could be solved by adding more dependency types.)
--[[Joey]] [[done]] --[[Joey]]

View File

@ -162,14 +162,13 @@ Link dependencies:
* `add_depends($page, $spec, links => 1, presence => 1)` * `add_depends($page, $spec, links => 1, presence => 1)`
adds a links + presence dependency. adds a links + presence dependency.
* `refresh` only rebuilds a page with a links dependency if * Use backlinks change code to detect changes to link dependencies too.
pages matched by the pagespec gain or lose links. (What the link
actually points to may change independent of this, due to changes
elsewhere, without it firing.)
* So, brokenlinks can fire whenever any links in any of the * So, brokenlinks can fire whenever any links in any of the
pages it's tracking change, or when pages are added or pages it's tracking change, or when pages are added or
removed. removed.
TODO: How to determine if a pagespec is valid to be used with a links TODO: How to determine if a pagespec is valid to be used with a links
dependency? Use the same simple pagespecs that are valid for presence dependency? Use the same simple pagespecs that are valid for presence
dependencies? dependencies? Seems ok.
[[done]]