summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Setup/Standard.pm3
-rw-r--r--doc/plugins/write.mdwn6
2 files changed, 6 insertions, 3 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 9d8ec3851..9d4732b6f 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -74,6 +74,9 @@ sub dumpvalues ($@) { #{{{
elsif (exists $info{example}) {
push @ret, dumpline($key, $info{example}, $info{type}, "#");
}
+ else {
+ push @ret, dumpline($key, "", $info{type}, "#");
+ }
}
return @ret;
} #}}}
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 6d5056162..04b6ea8e9 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -388,9 +388,9 @@ describing the option. For example:
rebuild => 0,
},
-* `type` can be "boolean", "string", "integer", "internal" (used for values
- that are not user-visible). The type is the type of the leaf values;
- the `%config` option may be an array or hash of these.
+* `type` can be "boolean", "string", "integer", "pagespec", or "internal"
+ (used for values that are not user-visible). The type is the type of
+ the leaf values; the `%config` option may be an array or hash of these.
* `example` can be set to an example value.
* `description` is a short description of the option.
* `safe` should be false if the option should not be displayed in unsafe