changelog
[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                         # The wrapper must be put in ~/.ikiwiki/wrappers/, since
25                         # ikiwiki-w3m.cgi only looks in this one location.
26                         # The wrapper can be given any name as long as it's 
27                         # in that directory.
28                         wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
29                         wrappermode => "0755",
30                 },
31         ],
32         
33         add_plugins => [qw{anonok}],
34         rss => 1,
35         atom => 1,
36         discussion => 1,
37 }