]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki.setup
web commit by http://ethan.betacantrips.com/: forgot about minor edits
[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@example.org',
12         
13         # Be sure to customise these..
14         srcdir => "/path/to/source",
15         destdir => "/var/www/wiki",
16         
17         url => "http://example.org/wiki",
18         cgiurl => "http://example.org/ikiwiki.cgi",
19         #templatedir => "/usr/share/ikiwiki/templates",
20         
21         # Subversion stuff.
22         #rcs => "svn",
23         #historyurl => "http://svn.example.org/trunk/[[file]]",
24         #diffurl => "http://svn.example.org/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.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
31         #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
32         #gitorigin_branch => "origin",
33         #gitmaster_branch => "master",
35         # Tla stuff.
36         #rcs => "tla"
37         #historyurl => ??,
38         #diffurl => ??,
40         # Mercurial stuff.
41         #rcs => "mercurial",
42         #historyurl => "http://localhost:8000/", # hg serve'd local repository
43         #diffurl => "http://localhost:8000/?fd=[[changeset]];file=[[file]]",
45         wrappers => [
46                 #{
47                 #       # The cgi wrapper.
48                 #       cgi => 1,
49                 #       wrapper => "/var/www/wiki/ikiwiki.cgi",
50                 #       wrappermode => "06755",
51                 #},
52                 #{
53                 #       # The svn post-commit wrapper.
54                 #       # Note that this will overwrite any existing
55                 #       # post-commit hook script, which may not be
56                 #       # what you want.
57                 #       wrapper => "/svn/wikirepo/hooks/post-commit",
58                 #       wrappermode => "04755",
59                 #       # Enable mail notifications of commits.
60                 #       notify => 1,
61                 #},
62                 #{
63                 #       # The git post-update wrapper.
64                 #       # Note that this will overwrite any existing
65                 #       # post-update hook script, which may not be
66                 #       # what you want.
67                 #       wrapper => "/git/wiki.git/hooks/post-update",
68                 #       wrappermode => "04755",
69                 #       # Enable mail notifications of commits.
70                 #       notify => 1,
71                 #},
72         ],
73         
74         # Can anonymous web users edit pages?
75         #anonok => 1,
76         # Generate rss feeds for blogs?
77         rss => 1,
78         # Generate atom feeds for blogs?
79         atom => 1,
80         # Urls to ping with XML-RPC when rss feeds are updated
81         #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
82         # Include discussion links on all pages?
83         discussion => 1,
84         # To exclude files matching a regexp from processing. This adds to
85         # the default exclude list.
86         #exclude => qr/*\.wav/,
87         # Time format (for strftime)
88         #timeformat => '%c',
89         # Locale to use. Must be a UTF-8 locale.
90         #locale => 'en_US.UTF-8',
91         # Only send cookies over SSL connections.
92         #sslcookie => 1,
93         # Logging settings:
94         verbose => 0,
95         syslog => 0,
96         # To link to user pages in a subdirectory of the wiki.
97         #userdir => "users",
98         
99         # To add plugins, list them here.
100         #add_plugins => [qw{goodstuff openid search wikitext camelcase
101         #                   htmltidy fortune sidebar map rst}],
102         # If you want to disable any of the default plugins, list them here.
103         #disable_plugins => [qw{inline htmlscrubber passwordauth}],
105         # For use with the tag plugin, make all tags be located under a
106         # base page.
107         #tagbase => "tag",
108         
109         # For use with the search plugin if your estseek.cgi is located 
110         # somewhere else.
111         #estseek => "/usr/lib/estraier/estseek.cgi",
112         
113         # For use with the openid plugin, to give an url to a page users
114         # can use to signup for an OpenID.
115         #openidsignup => "http://myopenid.com/",
116         
117         # For use with the mirrorlist plugin, a list of mirrors.
118         #mirrorlist => {
119         #       mirror1 => "http://hostname1",
120         #       mirror2 => "http://hostname2/mirror",
121         #},