]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki.setup
web commit by JordaPolo: Subpages and header.
[git.ikiwiki.info.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.
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",
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]]",
33         wrappers => [
34                 #{
35                 #       # The cgi wrapper.
36                 #       cgi => 1,
37                 #       wrapper => "/var/www/wiki/ikiwiki.cgi",
38                 #       wrappermode => "06755",
39                 #},
40                 {
41                         # The svn post-commit wrapper.
42                         # Note that this will overwrite any existing
43                         # post-commit hook script, which may not be
44                         # what you want.
45                         wrapper => "/svn/wikirepo/hooks/post-commit",
46                         wrappermode => "04755",
47                         # Enable mail notifications of commits.
48                         notify => 1,
49                 },
50                 #{
51                 #       # The git post-update wrapper.
52                 #       # Note that this will overwrite any existing
53                 #       # post-update hook script, which may not be
54                 #       # what you want.
55                 #       wrapper => "/git/wikirepo/.git/hooks/post-update",
56                 #       wrappermode => "04755",
57                 #       # Enable mail notifications of commits.
58                 #       notify => 1,
59                 #},
60         ],
61         
62         # Can anonymous web users edit pages?
63         #anonok => 1,
64         # Generate rss feeds for pages?
65         rss => 1,
66         # Urls to ping with XML-RPC when rss feeds are updated
67         #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
68         # Include discussion links on all pages?
69         discussion => 1,
70         # To exclude files matching a regexp from processing. This adds to
71         # the default exclude list.
72         #exclude => qr/\*.wav/,
73         # Time format (for strftime)
74         #timeformat => '%c',
75         # Locale to use. Must be a UTF-8 locale.
76         #locale => 'en_US.UTF-8',
77         # Logging settings:
78         verbose => 0,
79         syslog => 0,
80         
81         # To add plugins, list them here.
82         #add_plugins => [qw{meta tag pagecount brokenlinks search smiley
83         #                   wikitext camelcase pagestats htmltidy fortune
84         #                   sidebar map rst}],
85         # If you want to disable any of the default plugins, list them here.
86         #disable_plugins => [qw{inline htmlscrubber}],
87 }