summaryrefslogtreecommitdiff
path: root/notes/ikiwiki_setup_mangling.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'notes/ikiwiki_setup_mangling.mdwn')
-rw-r--r--notes/ikiwiki_setup_mangling.mdwn4
1 files 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