From 91159a965a0a52caac33db12f1d42869187cf66d Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Sun, 8 Sep 2013 22:43:16 -0700 Subject: notes/ikiwiki_setup_mangling: remove mention of rebuilds which are not necessary with separate statedirs --- notes/ikiwiki_setup_mangling.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notes/ikiwiki_setup_mangling.mdwn b/notes/ikiwiki_setup_mangling.mdwn index 0122140..02debbe 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. 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. +`| sudo -u ikiwiki ikiwiki --setup - --refresh --verbose` in order to strip out +the cgi-related functions. 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. #!/usr/bin/perl -- cgit v1.2.3