]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki.setup
web commit by BenjaminSonntag: adding debian etch dependency on libcgi-session-perl
[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         # Tla stuff.
34         #rcs => "tla"
35         #historyurl => ??,
36         #diffurl => ??,
38         # Mercurial stuff.
39         #rcs => "mercurial",
40         #historyurl => "http://localhost:8000/", # hg serve'd local repository
41         #diffurl => "http://localhost:8000/?fd=[[changeset]];file=[[file]]",
43         wrappers => [
44                 #{
45                 #       # The cgi wrapper.
46                 #       cgi => 1,
47                 #       wrapper => "/var/www/wiki/ikiwiki.cgi",
48                 #       wrappermode => "06755",
49                 #},
50                 {
51                         # The svn post-commit wrapper.
52                         # Note that this will overwrite any existing
53                         # post-commit hook script, which may not be
54                         # what you want.
55                         wrapper => "/svn/wikirepo/hooks/post-commit",
56                         wrappermode => "04755",
57                         # Enable mail notifications of commits.
58                         notify => 1,
59                 },
60                 #{
61                 #       # The git post-update wrapper.
62                 #       # Note that this will overwrite any existing
63                 #       # post-update hook script, which may not be
64                 #       # what you want.
65                 #       wrapper => "/git/wikirepo/.git/hooks/post-update",
66                 #       wrappermode => "04755",
67                 #       # Enable mail notifications of commits.
68                 #       notify => 1,
69                 #},
70         ],
71         
72         # Can anonymous web users edit pages?
73         #anonok => 1,
74         # Generate rss feeds for blogs?
75         rss => 1,
76         # Generate atom feeds for blogs?
77         atom => 1,
78         # Urls to ping with XML-RPC when rss feeds are updated
79         #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
80         # Include discussion links on all pages?
81         discussion => 1,
82         # To exclude files matching a regexp from processing. This adds to
83         # the default exclude list.
84         #exclude => qr/\*.wav/,
85         # Time format (for strftime)
86         #timeformat => '%c',
87         # Locale to use. Must be a UTF-8 locale.
88         #locale => 'en_US.UTF-8',
89         # Only send cookies over SSL connections.
90         #sslcookie => 1,
91         # Use HTTP Authentication instead of Ikiwiki's.
92         #httpauth => 1,
93         # Logging settings:
94         verbose => 0,
95         syslog => 0,
96         
97         # To add plugins, list them here.
98         #add_plugins => [qw{meta tag pagecount brokenlinks search smiley
99         #                   wikitext camelcase pagestats htmltidy fortune
100         #                   sidebar map rst toc linkmap}],
101         # If you want to disable any of the default plugins, list them here.
102         #disable_plugins => [qw{inline htmlscrubber}],
104         # For use with the tag plugin, make all tags be located under a
105         # base page.
106         #tagbase => "tag".
107         
108         # For use with the search plugin if your estseek.cgi is located 
109         # somewhere else.
110         #estseek => "/usr/lib/estraier/estseek.cgi",