* Support a w3mmode, which lets w3m run ikiwiki using its local CGI
[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         #adminuser => ["yourname", ],
11         #adminemail => 'me@myhost',
12         
13         # Be sure to customise these..
14         srcdir => "doc",
15         destdir => "html",
16         
17         # Enable w3m mode.
18         w3mmode => 1,
19
20         cgiurl => 'ikiwiki.cgi',
21         #templatedir => "/usr/share/ikiwiki/templates",
22         
23         rcs => "",
24
25         # Subversion stuff.
26         #rcs => "svn",
27         #historyurl => "http://svn.myhost/trunk/[[file]]",
28         #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
29         #svnrepo => "/svn/wiki",
30         #svnpath => "trunk",
31
32         # Git stuff.
33         #rcs => "git",
34         #historyurl => "http://git.host/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
35         #diffurl => "http://git.host/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
36
37         wrappers => [
38                 {
39                         # The cgi wrapper.
40                         cgi => 1,
41                         wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
42                         wrappermode => "0755",
43                 },
44                 #{
45                 #       # The svn post-commit wrapper.
46                 #       # Note that this will overwrite any existing
47                 #       # post-commit hook script, which may not be
48                 #       # what you want.
49                 #       wrapper => "/svn/wikirepo/hooks/post-commit",
50                 #       wrappermode => "04755",
51                 #       # Enable mail notifications of commits.
52                 #       notify => 1,
53                 #},
54                 #{
55                 #       # The git post-update wrapper.
56                 #       # Note that this will overwrite any existing
57                 #       # post-update hook script, which may not be
58                 #       # what you want.
59                 #       wrapper => "/git/wikirepo/.git/hooks/post-update",
60                 #       wrappermode => "04755",
61                 #       # Enable mail notifications of commits.
62                 #       notify => 1,
63                 #},
64         ],
65         
66         # Can anonymous web users edit pages?
67         anonok => 1,
68         # Generate rss feeds for pages?
69         rss => 1,
70         # Urls to ping with XML-RPC when rss feeds are updated
71         #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
72         # Include discussion links on all pages?
73         discussion => 1,
74         # Time format (for strftime)
75         #timeformat => '%c',
76         
77         # To add plugins, list them here.
78         #add_plugins => [qw{pagecount brokenlinks search smiley wikitext}],
79         # If you want to disable any of the default plugins, list them here.
80         #disable_plugins => [qw{inline htmlscrubber}],
81 }