From: Joey Hess <joey@kodama.kitenet.net>
Date: Sun, 13 Jul 2008 19:46:20 +0000 (-0400)
Subject: Cut the size of the binary package in half by excluding pages for bugs and todo items... 
X-Git-Tag: 2.54~99^2~9
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/9957c7fd5d17afdc2e7e4248ca8a961731048d51

Cut the size of the binary package in half by excluding pages for bugs and todo items from the html shipped in it.
---

diff --git a/debian/changelog b/debian/changelog
index d5b64df34..3c535fd5f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,8 @@ ikiwiki (2.54) UNRELEASED; urgency=low
   * Error handling improvement for preprocess hooks. It's now safe to call
     error() from such hooks; it will cause a nicely formatted error message
     to be inserted into the page.
+  * Cut the size of the binary package in half by excluding pages for bugs
+    and todo items from the html shipped in it.
 
  -- Josh Triplett <josh@freedesktop.org>  Wed, 09 Jul 2008 21:30:33 -0700
 
diff --git a/docwiki.setup b/docwiki.setup
index 0a6a86678..ba3dd680d 100644
--- a/docwiki.setup
+++ b/docwiki.setup
@@ -9,7 +9,7 @@ use IkiWiki::Setup::Standard {
 	underlaydir => "underlays/basewiki",
 	wrappers => [],
 	discussion => 0,
-	exclude => qr/\/discussion/,
+	exclude => qr/\/discussion|bugs\/*|todo\/*/,
 	locale => '',
 	verbose => 1,
 	syslog => 0,