]> sipb.mit.edu Git - ikiwiki.git/commitdiff
set underlaydirbase in docwiki.setup
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 19 May 2009 17:57:47 +0000 (13:57 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 19 May 2009 17:57:47 +0000 (13:57 -0400)
4291f2e3d7d1eb160427764e622d247145652e81 made
just setting underlaydir not enough to change
where other underlays are loaded from. While generally
a good thing, that broke building of the docwiki
from the source tree, because underlaydirbase
was not pointing there.

Setting underlaydirbase in the setup file is a solution,
albeit slightly hacky (since the variable is undocumented and internal).

docwiki.setup

index 6d732fd6b1d59818687a930342b9b02a123e99f5..52421e50111ff7045504c442ffde3c7b3b1a5dc5 100644 (file)
@@ -6,6 +6,7 @@ use IkiWiki::Setup::Standard {
        srcdir => "doc",
        destdir => "html",
        templatedir => "templates",
        srcdir => "doc",
        destdir => "html",
        templatedir => "templates",
+       underlaydirbase => "underlays",
        underlaydir => "underlays/basewiki",
        discussion => 0,
        exclude => qr/\/discussion|bugs\/*|todo\/*/,
        underlaydir => "underlays/basewiki",
        discussion => 0,
        exclude => qr/\/discussion|bugs\/*|todo\/*/,