aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-03-24 21:30:18 -0400
committerJoey Hess <joey@kitenet.net>2011-03-24 21:30:18 -0400
commit9df8971e5746a801449e85da38d54dea071b7303 (patch)
tree00e1082773b6e5a0e297d114abf71d7a6b905d1f /IkiWiki.pm
parent7821965ef0c8c49b233d8abb621af33f1f7a31bd (diff)
downloadikiwiki-9df8971e5746a801449e85da38d54dea071b7303.tar
ikiwiki-9df8971e5746a801449e85da38d54dea071b7303.tar.gz
Yaml formatted setup files are now produced by default
This has been a while coming. It turns out that non-excutable setup files have a number of benefits. Also, I find YAML setup files easier to edit myself, and I suspect many users will prefer not needing to deal with perl syntax.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 1c05a7aa5..fdf3e5c47 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -485,7 +485,7 @@ sub getsetup () {
},
setuptype => {
type => "internal",
- default => "Standard",
+ default => "Yaml",
description => "perl class to use to dump setup file",
safe => 0,
rebuild => 0,
@@ -505,7 +505,6 @@ sub defaultconfig () {
foreach my $key (keys %s) {
push @ret, $key, $s{$key}->{default};
}
- use Data::Dumper;
return @ret;
}