aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-04-10 16:35:50 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-04-10 16:35:50 -0400
commit243739e1c355da4162dc1b41c04c11cc1fb676c0 (patch)
treea31102f366088c703a0115f27ef48750613b2679 /doc
parent72b5ef2c5fb01751992c9400afe2690da5df611f (diff)
parentc69c811d64b285cec3dc3039376c2ff8c8907121 (diff)
downloadikiwiki-243739e1c355da4162dc1b41c04c11cc1fb676c0.tar
ikiwiki-243739e1c355da4162dc1b41c04c11cc1fb676c0.tar.gz
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc')
-rw-r--r--doc/plugins/contrib/sourcehighlight.mdwn2
-rw-r--r--doc/plugins/edittemplate.mdwn2
-rw-r--r--doc/todo/quieten-bzr.mdwn23
3 files changed, 25 insertions, 2 deletions
diff --git a/doc/plugins/contrib/sourcehighlight.mdwn b/doc/plugins/contrib/sourcehighlight.mdwn
index f89677d9e..0066c9b9f 100644
--- a/doc/plugins/contrib/sourcehighlight.mdwn
+++ b/doc/plugins/contrib/sourcehighlight.mdwn
@@ -4,7 +4,7 @@ I noticed several places in the wiki talking about similar ideas, so I decided t
I have implemented a simple wrapper around
[source-highlight](http://www.gnu.org/software/src-highlite/). You can find the latest version in
-[git](http://http://pivot.cs.unb.ca/git?p=ikiperl.git;a=blob_plain;f=IkiWiki/Plugin/sourcehighlight.pm;hb=HEAD).
+[git](http://pivot.cs.unb.ca/git?p=ikiperl.git;a=blob_plain;f=IkiWiki/Plugin/sourcehighlight.pm;hb=HEAD).
You must specify `highlight_lang=>"foo,bar"` in your setup file.
where foo and bar are the (source-supported) languages you want to
highlight
diff --git a/doc/plugins/edittemplate.mdwn b/doc/plugins/edittemplate.mdwn
index ac8e0a71f..8140b4f41 100644
--- a/doc/plugins/edittemplate.mdwn
+++ b/doc/plugins/edittemplate.mdwn
@@ -3,7 +3,7 @@
This plugin allows registering template pages, that provide default
content for new pages created using the web frontend. To register a
-template, insert a [[PreprocessorDirective]] on some other page.
+template, insert a [[Preprocessor_Directive|/ikiwiki/preprocessordirective]] on some other page.
\[[!edittemplate template="bugtemplate" match="bugs/*"]]
diff --git a/doc/todo/quieten-bzr.mdwn b/doc/todo/quieten-bzr.mdwn
new file mode 100644
index 000000000..f5f00b0a3
--- /dev/null
+++ b/doc/todo/quieten-bzr.mdwn
@@ -0,0 +1,23 @@
+The _bzr_ plug echoes "added: somefile.mdwn" when it adds somefile.mdwn to the repository. As a result, the redirect performed after a new article is created fails because the _bzr_ output comes before the HTTP headers.
+
+The fix is simply to call `bzr` with the _--quiet_ switch. Something like this applied to _bzr.pm_ works for me:
+
+ 46c46
+ < my @cmdline = ("bzr", $config{srcdir}, "update");
+ ---
+ > my @cmdline = ("bzr", "update", "--quiet", $config{srcdir});
+ 74c74
+ < my @cmdline = ("bzr", "commit", "-m", $message, "--author", $user,
+ ---
+ > my @cmdline = ("bzr", "commit", "--quiet", "-m", $message, "--author", $user,
+ 86c86
+ < my @cmdline = ("bzr", "add", "$config{srcdir}/$file");
+ ---
+ > my @cmdline = ("bzr", "add", "--quiet", "$config{srcdir}/$file");
+ 94a95,97
+ > eval q{use CGI 'escapeHTML'};
+ > error($@) if $@;
+ >
+
+
+[[tag patch]]