test
[hcoop/zz_old/ikiwiki] / .ikiwiki / ikiwiki.setup
1 #!/usr/bin/perl
2
3 #
4 # Please make sure that all paths in this file are in /afs -- this
5 # makes it possible to "git push" via AFS.
6 #
7
8 # Remember to re-run ikiwiki --setup any time you edit this file.
9
10 use IkiWiki::Setup::Standard {
11 wikiname => "Hcoop Ikiwiki",
12 adminemail => 'admins@hcoop.net',
13
14 # Be sure to customise these..
15 srcdir => "/afs/hcoop.net/common/ikiwiki/source/",
16 destdir => "/afs/hcoop.net/common/ikiwiki/dest/",
17
18 url => "http://ikiwiki.hcoop.net/",
19 cgiurl => "http://ikiwiki.hcoop.net/cgi",
20 templatedir => "/afs/hcoop.net/common/ikiwiki/templates",
21 underlaydir => "/afs/hcoop.net/common/ikiwiki/basewiki",
22
23 rcs => "git",
24
25 # mwolson, do you know how to set these?
26 #historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
27 #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
28 gitorigin_branch => "origin",
29 gitmaster_branch => "master",
30
31 wrappers => [
32 {
33 # The cgi wrapper; generated by 'ikiwiki --wrappers'
34 cgi => 1,
35 wrapper => "/afs/hcoop.net/common/ikiwiki/bin/ikiwiki.cgi",
36 wrappermode => "06755",
37 },
38 {
39 wrapper => "/afs/hcoop.net/common/ikiwiki/repo/hooks/post-update",
40 wrappermode => "04755",
41 # Enable mail notifications of commits.
42 notify => 1,
43 },
44 ],
45
46 # Generate rss feeds for blogs?
47 rss => 1,
48 # Generate atom feeds for blogs?
49 atom => 1,
50
51 # Urls to ping with XML-RPC when rss feeds are updated
52 #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
53 # Include discussion links on all pages?
54 discussion => 1,
55
56 # To exclude files matching a regexp from processing. This adds to
57 # the default exclude list.
58 #exclude => qr/*\.wav/,
59 # To change the extension used for generated html files.
60 #htmlext => 'htm',
61 # Time format (for strftime)
62 #timeformat => '%c',
63 # Locale to use. Must be a UTF-8 locale.
64 #locale => 'en_US.UTF-8',
65 # Only send cookies over SSL connections.
66 #sslcookie => 1,
67
68 # Logging settings:
69 #verbose => 1,
70 syslog => 0,
71
72 # To link to user pages in a subdirectory of the wiki.
73 #userdir => "users",
74 # To create output files named page.html rather than page/index.html.
75 #usedirs => 0,
76 # Simple spam prevention: require an account-creation password.
77 #account_creation_password => "example",
78
79 # editdiff doesn't seem to work
80 add_plugins => [qw{httpauth camelcase wikitext search teximg editdiff graphviz table more toggle plaintext poll img linkmap toc sidebar fortune tag html meta orphans brokenlinks pagecount inline}],
81
82 # waiting for {attach} plugin to be released; use git for now
83 # attach => {
84 # enabled => 1, #If false, no new attachments are allowed via the web interface
85 # every_page => 1, #Toggles whether attachments are allowed on every page of the IkiWiki
86 # },
87
88
89 #add_plugins => [qw{goodstuff search wikitext camelcase
90 # htmltidy fortune sidebar map rst anonok}],
91 # If you want to disable any of the default plugins, list them here.
92 disable_plugins => [qw{passwordauth}],
93 #disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
94 # To add a directory to the perl searh path, use this.
95 #libdir => "/home/me/.ikiwiki/",
96
97 # For use with the tag plugin, make all tags be located under a
98 # base page.
99 #tagbase => "tag",
100
101 # For use with the search plugin if your estseek.cgi is located
102 # somewhere else.
103 #estseek => "/usr/lib/estraier/estseek.cgi",
104
105 # For use with the openid plugin, to give an url to a page users
106 # can use to signup for an OpenID.
107 #openidsignup => "http://myopenid.com/",
108
109 # For use with the mirrorlist plugin, a list of mirrors.
110 #mirrorlist => {
111 # mirror1 => "http://hostname1",
112 # mirror2 => "http://hostname2/mirror",
113 #},
114 }