aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki.pm8
-rw-r--r--debian/changelog1
-rw-r--r--docwiki.setup1
3 files changed, 10 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 6e19d482a..fe5af6d15 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -566,6 +566,14 @@ sub getsetup () {
safe => 1,
rebuild => 1,
},
+ deterministic => {
+ type => "boolean",
+ default => 0,
+ description => "try harder to produce deterministic output",
+ safe => 1,
+ rebuild => 1,
+ advanced => 1,
+ },
}
sub getlibdirs () {
diff --git a/debian/changelog b/debian/changelog
index de2d99b28..d359bf262 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,7 @@ ikiwiki (3.20150330) UNRELEASED; urgency=medium
release, leading to unstable sorting
* Sort backlinks deterministically, by falling back to sorting by href
if the link text is identical
+ * Add a $config{deterministic} option and use it for the docwiki
-- Joey Hess <id@joeyh.name> Tue, 28 Apr 2015 12:24:08 -0400
diff --git a/docwiki.setup b/docwiki.setup
index f2b4cc5ca..cc8f34645 100644
--- a/docwiki.setup
+++ b/docwiki.setup
@@ -33,4 +33,5 @@ use IkiWiki::Setup::Standard {
disable_plugins => [qw{recentchanges openid}],
rcs => $rcs,
gitorigin_branch => '', # don't pull during build
+ deterministic => 1,
}