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