]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki.setup
95d2d46af9e146e9e5c70b01381dc40670463787
[ikiwiki.git] / doc / ikiwiki.setup
1 #!/usr/bin/perl
2 # Configuration file for ikiwiki.
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 => "MyWiki",
10         #adminuser => ["yourname", ],
11         adminemail => 'me@myhost',
12         
13         # Be sure to customise these..
14         srcdir => "/path/to/source",
15         destdir => "/var/www/wiki",
16         
17         url => "http://myhost/wiki",
18         cgiurl => "http://myhost/ikiwiki.cgi",
19         #templatedir => "/usr/share/ikiwiki/templates",
20         
21         # Subversion stuff.
22         rcs => "svn",
23         #historyurl => "http://svn.myhost/trunk/[[file]]",
24         #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
25         svnrepo => "/svn/wiki",
26         svnpath => "trunk",
27
28         # Git stuff.
29         #rcs => "git",
30         #historyurl => "http://git.host/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
31         #diffurl => "http://git.host/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
32
33         # Tla stuff.
34         #rcs => "tla"
35         #historyurl => ??,
36         #diffurl => ??,
37
38         wrappers => [
39                 #{
40                 #       # The cgi wrapper.
41                 #       cgi => 1,
42                 #       wrapper => "/var/www/wiki/ikiwiki.cgi",
43                 #       wrappermode => "06755",
44                 #},
45                 {
46                         # The svn post-commit wrapper.
47                         # Note that this will overwrite any existing
48                         # post-commit hook script, which may not be
49                         # what you want.
50                         wrapper => "/svn/wikirepo/hooks/post-commit",
51                         wrappermode => "04755",
52                         # Enable mail notifications of commits.
53                         notify => 1,
54                 },
55                 #{
56                 #       # The git post-update wrapper.
57                 #       # Note that this will overwrite any existing
58                 #       # post-update hook script, which may not be
59                 #       # what you want.
60                 #       wrapper => "/git/wikirepo/.git/hooks/post-update",
61                 #       wrappermode => "04755",
62                 #       # Enable mail notifications of commits.
63                 #       notify => 1,
64                 #},
65         ],
66         
67         # Can anonymous web users edit pages?
68         #anonok => 1,
69         # Generate rss feeds for pages?
70         rss => 1,
71         # Urls to ping with XML-RPC when rss feeds are updated
72         #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
73         # Include discussion links on all pages?
74         discussion => 1,
75         # To exclude files matching a regexp from processing. This adds to
76         # the default exclude list.
77         #exclude => qr/\*.wav/,
78         # Time format (for strftime)
79         #timeformat => '%c',
80         # Locale to use. Must be a UTF-8 locale.
81         #locale => 'en_US.UTF-8',
82         # Only send cookies over SSL connections.
83         #sslcookie => 1,
84         # Logging settings:
85         verbose => 0,
86         syslog => 0,
87         
88         # To add plugins, list them here.
89         #add_plugins => [qw{meta tag pagecount brokenlinks search smiley
90         #                   wikitext camelcase pagestats htmltidy fortune
91         #                   sidebar map rst toc}],
92         # If you want to disable any of the default plugins, list them here.
93         #disable_plugins => [qw{inline htmlscrubber}],
94 }