aboutsummaryrefslogtreecommitdiff
path: root/doc/w3mmode/ikiwiki.setup
blob: 8cddec40b5273844c69fa3448921b9ccf8b53df0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/perl
# Configuration file for ikiwiki (w3m mode).
# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and 
# build the wiki.
#
# Remember to re-run ikiwiki --setup any time you edit this file.

use IkiWiki::Setup::Standard {
	wikiname => "ikiwiki",
	
	# Be sure to customise these..
	srcdir => "doc",
	destdir => "html",
	
	# Enable w3m mode.
	w3mmode => 1,
	cgiurl => 'ikiwiki.cgi',
	rcs => "",

	wrappers => [
		{
			# The cgi wrapper.
			cgi => 1,
			# This path can't be changed, since
			# ikiwiki-w3m.cgi only looks in this one location.
			wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
			wrappermode => "0755",
		},
	],
	
	add_plugins => [qw{anonok}],
	rss => 1,
	atom => 1,
	discussion => 1,
}