From a862399717ddb2ad4ad063b78b074549a45754b6 Mon Sep 17 00:00:00 2001 From: jrayhawk Date: Mon, 26 Jul 2010 17:12:49 -0700 Subject: --- notes/ikiwiki_setup_mangling.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notes') diff --git a/notes/ikiwiki_setup_mangling.mdwn b/notes/ikiwiki_setup_mangling.mdwn index cfc174c..e979458 100644 --- a/notes/ikiwiki_setup_mangling.mdwn +++ b/notes/ikiwiki_setup_mangling.mdwn @@ -1,7 +1,7 @@ This is an example of how to take an Ikiwiki setup file and mangle it programmatically. In my case, I'm running it on the fly for use with `| sudo -u ikiwiki ikiwiki --setup - --rebuild --verbose` in order to strip out -the cgi-related functions. +the cgi-related functions. Note that you'll later have to deal with errors about 'independently created' files if anything you strip out involves underlays, such as the 'wmd' plugin. To solve this, rebuild with the original setup file. In the future, I think it would be better to have dev and live on different git branches and have one Ikiwiki setup for each, with this mangling script plus two git wrappers getting executed by post-update. #!/usr/bin/perl -- cgit v1.2.3