]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki.setup
also graph patch fixed items, and include pending patches as well as
[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                 #       # Log to syslog since svn post-commit hooks
63                 #       # hide output and errors.
64                 #       syslog => 1,
65                 #},
66                 #{
67                 #       # The git post-update wrapper.
68                 #       # Note that this will overwrite any existing
69                 #       # post-update hook script, which may not be
70                 #       # what you want.
71                 #       wrapper => "/git/wiki.git/hooks/post-update",
72                 #       wrappermode => "04755",
73                 #       # Enable mail notifications of commits.
74                 #       notify => 1,
75                 #},
76         ],
78         # Generate rss feeds for blogs?
79         rss => 1,
80         # Generate atom feeds for blogs?
81         atom => 1,
82         # Urls to ping with XML-RPC when rss feeds are updated
83         #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
84         # Include discussion links on all pages?
85         discussion => 1,
86         # To exclude files matching a regexp from processing. This adds to
87         # the default exclude list.
88         #exclude => qr/*\.wav/,
89         # To change the extension used for generated html files.
90         #htmlext => 'htm',
91         # Time format (for strftime)
92         #timeformat => '%c',
93         # Locale to use. Must be a UTF-8 locale.
94         #locale => 'en_US.UTF-8',
95         # Only send cookies over SSL connections.
96         #sslcookie => 1,
97         # Logging settings:
98         #verbose => 1,
99         syslog => 0,
100         # To link to user pages in a subdirectory of the wiki.
101         #userdir => "users",
102         # To create output files named page.html rather than page/index.html.
103         #usedirs => 0,
104         # Simple spam prevention: require an account-creation password.
105         #account_creation_password => "example",
107         # To add plugins, list them here.
108         #add_plugins => [qw{goodstuff search wikitext camelcase
109         #                   htmltidy fortune sidebar map rst anonok}],
110         # If you want to disable any of the default plugins, list them here.
111         #disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
112         # To add a directory to the perl searh path, use this.
113         #libdir => "/home/me/.ikiwiki/",
115         # For use with the tag plugin, make all tags be located under a
116         # base page.
117         #tagbase => "tag",
119         # For use with the search plugin if your estseek.cgi is located
120         # somewhere else.
121         #estseek => "/usr/lib/estraier/estseek.cgi",
123         # For use with the openid plugin, to give an url to a page users
124         # can use to signup for an OpenID.
125         #openidsignup => "http://myopenid.com/",
127         # For use with the mirrorlist plugin, a list of mirrors.
128         #mirrorlist => {
129         #       mirror1 => "http://hostname1",
130         #       mirror2 => "http://hostname2/mirror",
131         #},