aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-11-07 12:22:01 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-11-07 12:23:30 -0500
commitfb89bfd26bc248b8ce7c21446512b78b9ecb3391 (patch)
tree08e2b89ae8ea02d8019a37e8026ba442c0700586 /IkiWiki.pm
parentbc705245ca4d3751bb21db8e9a1e1e5f3bbc92f8 (diff)
downloadikiwiki-fb89bfd26bc248b8ce7c21446512b78b9ecb3391.tar
ikiwiki-fb89bfd26bc248b8ce7c21446512b78b9ecb3391.tar.gz
document wikistatedir, though it's still internal
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 91d2e6082..1aaa4d33c 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -403,6 +403,13 @@ sub getsetup () { #{{{
safe => 0,
rebuild => 0,
},
+ wikistatedir => {
+ type => "internal",
+ default => undef,
+ description => "path to the .ikiwiki directory holding ikiwiki state",
+ safe => 0,
+ rebuild => 0,
+ },
setupfile => {
type => "internal",
default => undef,
@@ -467,7 +474,7 @@ sub checkconfig () { #{{{
}
$config{wikistatedir}="$config{srcdir}/.ikiwiki"
- unless exists $config{wikistatedir};
+ unless exists $config{wikistatedir} && defined $config{wikistatedir};
if (defined $config{umask}) {
umask(possibly_foolish_untaint($config{umask}));