summaryrefslogtreecommitdiffstats
path: root/wiki.setup
blob: 3ec1789751bfdbcee97656ff21e1f99c769081c6 (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
36
37
38
39
40
41
42
#!/usr/bin/perl
# Configuration file for ikiwiki to build amnesia's documentation wiki.

use IkiWiki::Setup::Standard {
	wikiname => "The (Amnesic) Incognito Live System",
	adminemail => 'amnesia@boum.org',
	srcdir => "wiki/src",
	destdir => "config/binary_local-includes/doc/amnesia/wiki",
	discussion => 0,
	exclude => qr/\/discussion/,
	locale => 'en_US.UTF-8',
	verbose => 1,
	syslog => 0,
	userdir => "",
	usedirs => 0,
	prefix_directives => 1,
	add_plugins => [qw{favicon html map mirrorlist po shortcut sidebar tag toc typography comments}],
	disable_plugins => [qw{openid httpauth signinedit passwordauth editpage recentchanges}],
	rss => 0,
	atom => 0,
	cgiurl => "",
	url => "file:///live/image/doc/amnesia/wiki",
	allow_symlinks_before_srcdir => 1,
	tagbase => 'tags',
	mirrorlist => {
		"amnesia.boum.org" => {
			baseurl => 'https://amnesia.boum.org',
			usedirs => 1,
		},
	},
	comments_pagespec => "forum/*",
        # po plugin
        po_master_language => { 'code' => 'en', 'name' => 'English' },
        po_slave_languages => {
                'ca' => 'Catalan',
                'fr' => 'Français',
                'es' => 'Español',
                'de' => 'Deutsch',
        },
        po_translatable_pages => '!ikiwiki and !ikiwiki/* and !news/* and !*/Discussion and !todo and !todo/* and !bugs and !bugs/* and !patch and !wishlist and !amnesia.asc and !tags and !tags/* and !contribute and !contribute/* and !torrents/* and !forum and !forum/* and !recentchanges',
        po_link_to => 'current',
}