explain %depends and suggest [[!inline quick=yes]]

master
http://smcv.pseudorandom.co.uk/ 2009-06-20 14:14:36 -04:00 committed by Joey Hess
parent c25371b311
commit 9a5e3fac02
1 changed files with 16 additions and 0 deletions

View File

@ -73,3 +73,19 @@ wrapper.
-- [[Jon]] -- [[Jon]]
> Dependencies go in the `%IkiWiki::depends` hash, which is not exported. It
> can also be dumped out as part of the wiki state - see [[tips/inside_dot_ikiwiki]].
>
> It's a map from page name to increasingly complex pagespec, although
> the `optimize-depends` branch in my git repository changes that to a
> map from a page name to a *list* of pagespecs which are automatically
> or'd together for use (this at least means duplicates can be weeded out).
>
> See [[todo/should_optimize_pagespecs]] for more on that.
>
> I've been hoping to speed up IkiWiki too - making a lot of photo albums
> with my [[plugins/contrib/album]] plugin makes it pretty slow.
>
> One thing that I found was a big improvement was to use `quick=yes` on all
> my `archive=yes` [[ikiwiki/directive/inline]]s. --[[smcv]]