]> git.cworth.org Git - cworth.org/blob - ikiwiki.setup
Give the wiki a less redundant name
[cworth.org] / 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.
7
8 use IkiWiki::Setup::Standard {
9         wikiname => "Carl's boring web pages",
10         #adminuser => ["yourname", ],
11         adminemail => 'cworth@cworth.org',
12
13         # Be sure to customise these..
14         srcdir => "/srv/cworth.org/wiki/checkout/src",
15         destdir => "/srv/cworth.org/www",
16
17         url => "http://cworth.org",
18         #cgiurl => "http://example.org/ikiwiki.cgi",
19         templatedir => "/srv/cworth.org/wiki/checkout/templates",
20         underlaydir => "/dev/null",
21
22         # Git stuff.
23         rcs => "git",
24         #historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
25         #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
26         gitorigin_branch => "origin",
27         gitmaster_branch => "master",
28
29         wrappers => [
30                 #{
31                 #       # The cgi wrapper.
32                 #       cgi => 1,
33                 #       wrapper => "/var/www/wiki/ikiwiki.cgi",
34                 #       wrappermode => "06755",
35                 #},
36                 {
37                         # The git post-update wrapper.
38                         # Note that this will overwrite any existing
39                         # post-update hook script, which may not be
40                         # what you want.
41                         wrapper => "/srv/cworth.org/wiki/hooks/ikiwiki-post-update",
42                         wrappermode => "04755",
43                         # Enable mail notifications of commits.
44                         #notify => 1,
45                 },
46         ],
47
48         # Generate rss feeds for blogs?
49         rss => 1,
50         # Generate atom feeds for blogs?
51         atom => 1,
52         # Urls to ping with XML-RPC when rss feeds are updated
53         #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
54         # Include discussion links on all pages?
55         discussion => 1,
56         # To exclude files matching a regexp from processing. This adds to
57         # the default exclude list.
58         #exclude => qr/*\.wav/,
59         # Time format (for strftime)
60         #timeformat => '%c',
61         # Locale to use. Must be a UTF-8 locale.
62         #locale => 'en_US.UTF-8',
63         # Only send cookies over SSL connections.
64         #sslcookie => 1,
65         # Logging settings:
66         verbose => 0,
67         syslog => 0,
68         # To link to user pages in a subdirectory of the wiki.
69         #userdir => "users",
70         # To create output files named page.html rather than page/index.html.
71         #usedirs => 0,
72         # Simple spam prevention: require an account-creation password.
73         #account_creation_password => "example",
74
75         # To add plugins, list them here.
76         #add_plugins => [qw{goodstuff search wikitext camelcase
77         #                   htmltidy fortune sidebar map rst anonok}],
78         add_plugins => [qw{goodstuff}],
79         # If you want to disable any of the default plugins, list them here.
80         #disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
81         disable_plugins => [qw{smiley}],
82
83         # For use with the tag plugin, make all tags be located under a
84         # base page.
85         tagbase => "tag",
86
87         # For use with the search plugin if your estseek.cgi is located
88         # somewhere else.
89         #estseek => "/usr/lib/estraier/estseek.cgi",
90
91         # For use with the openid plugin, to give an url to a page users
92         # can use to signup for an OpenID.
93         #openidsignup => "http://myopenid.com/",
94
95         # For use with the mirrorlist plugin, a list of mirrors.
96         #mirrorlist => {
97         #       mirror1 => "http://hostname1",
98         #       mirror2 => "http://hostname2/mirror",
99         #},
100 }