summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-28 23:46:55 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-28 23:46:55 +0000
commit98d71ccef586e30c96310d506f0df7fcf46a55de (patch)
treebc4f98641bea678eb1d1683377ec730b45d1851a
parent61be0198556438c0fbec14bf14cbf7e3be950d94 (diff)
fix bad example of exclude configuration item, and remove some stuff about
it from discussion, since it is indeed documented
-rw-r--r--doc/ikiwiki.setup2
-rw-r--r--doc/index/discussion.mdwn24
2 files changed, 1 insertions, 25 deletions
diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup
index 52b112a44..69162c0e4 100644
--- a/doc/ikiwiki.setup
+++ b/doc/ikiwiki.setup
@@ -81,7 +81,7 @@ use IkiWiki::Setup::Standard {
discussion => 1,
# To exclude files matching a regexp from processing. This adds to
# the default exclude list.
- #exclude => qr/\*.wav/,
+ #exclude => qr/*\.wav/,
# Time format (for strftime)
#timeformat => '%c',
# Locale to use. Must be a UTF-8 locale.
diff --git a/doc/index/discussion.mdwn b/doc/index/discussion.mdwn
index d02564ff6..6f346a3f1 100644
--- a/doc/index/discussion.mdwn
+++ b/doc/index/discussion.mdwn
@@ -188,30 +188,6 @@ Moved to [[bugs]] -- [[Joey]]
----
-# wiki\_file\_regexp and RCS ,v files
-
-I have RCS ,v files in my source directory. But get many "skipping bad filename" warnings.
-
-Also I don't see wiki\_file\_regexp documented. Because it is used with $config{wiki\_file\_regexp} I assume it can be set in the ikiwiki.setup.
-I added a comma to it in my IkiWiki.pm in the defaultconfig(). But that was wrong (so I reverted back), because then the ,v files were copied to my www tree.
-
-What is the correct way to include ,v RCS revision files in my source tree without receiving the "bad" messages and without copying over to www tree?
-
--- [[JeremyReed]]
-
-> Add the ,v to the $config{wiki\_file\_prune\_regexps} array. This is how we
-> skip equivilant files from other revision control systems too.
-> --[[Joey]]]
-
->> Okay, I used in my setup configuration:
->> exclude => qr/\,v$/,
->> I looked in source for the array you mentioned above and noticed the $setup{exclude}. And now I see that is documented.
->> (By the way, the example there doesn't seem correct with a literal asterisk and period wildcard.
->> Maybe it should be qr/\.wav$/,)
->> --[[JeremyReed]]
-
-----
-
# Textile Plugin
It was trivial, but I put together a plugin that uses the Textile markup