]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/cgi_wrapper_always_regenerated.mdwn
Add keepextension parameter to htmlize hook. (Willu)
[ikiwiki.git] / doc / bugs / cgi_wrapper_always_regenerated.mdwn
1 I am using --setup with a configuration file that enables my CGI wrapper. This works well. This same configuration also defines the locations of my source and my destination website.
2
3 Whenever I run ikiwiki with --setup with this same configuration, then each time my cgi wrapper is updated. It says my cgi is generated and it has new timestamp but md5 shows the file never changed.
4
5 Should I use a different config? This is confusing because if I use a config without my cgi wrapper defined, I still have my left-over ikiwiki.cgi still in place (so CGI is enabled).
6
7 It seems wasteful to update each time when my goal is just to create the HTML pges (since the CGI didn't generate them) as noted in my other bug report.
8
9 > If ikiwiki is run in refresh mode, it won't regnerate the wrapper. You
10 > want to run it in refresh mode, because it's also wastful to rebuild all
11 > the unchanged pages, which is done by default when setting up a wiki with
12 > --setup.
13
14 > Example of refresh mode: `ikiwiki -setup ikiwiki.setup --refresh`
15
16 > Improved the docs slightly, so I'll call this [[bugs/done]] --[[Joey]]