closures
parent
e7144e918f
commit
61a36de432
|
@ -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]]
|
||||||
|
|
|
@ -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]]
|
||||||
|
|
Loading…
Reference in New Issue