diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-11-07 12:22:01 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-11-07 12:23:30 -0500 |
commit | fb89bfd26bc248b8ce7c21446512b78b9ecb3391 (patch) | |
tree | 08e2b89ae8ea02d8019a37e8026ba442c0700586 /IkiWiki.pm | |
parent | bc705245ca4d3751bb21db8e9a1e1e5f3bbc92f8 (diff) | |
download | ikiwiki-fb89bfd26bc248b8ce7c21446512b78b9ecb3391.tar ikiwiki-fb89bfd26bc248b8ce7c21446512b78b9ecb3391.tar.gz |
document wikistatedir, though it's still internal
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 9 |
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})); |