* Allow -cgi -wrapper to be passed on the command line to generate a
[ikiwiki.git] / doc / w3mmode / ikiwiki.setup
1 #!/usr/bin/perl
2 # Configuration file for ikiwiki (w3m mode).
3 # Passing this to ikiwiki --setup will make ikiwiki generate wrappers and 
4 # build the wiki.
5 #
6 # Remember to re-run ikiwiki --setup any time you edit this file.
7
8 use IkiWiki::Setup::Standard {
9         wikiname => "ikiwiki",
10         
11         # Be sure to customise these..
12         srcdir => "doc",
13         destdir => "html",
14         
15         # Enable w3m mode.
16         w3mmode => 1,
17         cgiurl => 'ikiwiki.cgi',
18         rcs => "",
19
20         wrappers => [
21                 {
22                         # The cgi wrapper.
23                         cgi => 1,
24                         # This path can't be changed, since
25                         # ikiwiki-w3m.cgi only looks in this one location.
26                         wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
27                         wrappermode => "0755",
28                 },
29         ],
30         
31         add_plugins => [qw{anonok}],
32         rss => 1,
33         atom => 1,
34         discussion => 1,
35 }