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