summaryrefslogtreecommitdiffstats
path: root/ikiwiki-cgi.setup
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2011-03-21 00:05:55 +0100
committerTails developers <amnesia@boum.org>2011-03-21 00:05:55 +0100
commitc4606b1b14c5e3028a76c5302d26187c3111ec54 (patch)
tree03f503b7d6c827ef2e21a230a79ec2fdf2afb6cb /ikiwiki-cgi.setup
parent4d0c062bdfee448af54966fb8cc6e28b462554c8 (diff)
Add ikiwiki-cgi.setup to make web designers' job easier.
This ikiwiki setup file has a configuration similar to the online website's one so that web designer can properly test their work in both offline and online conditions.
Diffstat (limited to 'ikiwiki-cgi.setup')
-rw-r--r--ikiwiki-cgi.setup42
1 files changed, 42 insertions, 0 deletions
diff --git a/ikiwiki-cgi.setup b/ikiwiki-cgi.setup
new file mode 100644
index 0000000..2824f6a
--- /dev/null
+++ b/ikiwiki-cgi.setup
@@ -0,0 +1,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 remove rename passwordauth mirrorlist po shortcut sidebar tag toc typography comments meta img editpage recentchanges anonok search po}],
+ disable_plugins => [qw{openid httpauth signinedit}],
+ rcs => 'git',
+ gitorigin_branch => '',
+ historyurl => 'http://git.immerda.ch/?p=amnesia.git;a=history;f=wiki/src/[[file]]',
+ diffurl => 'http://git.immerda.ch/?p=amnesia.git;a=blobdiff;f=wiki/src/[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]',
+ rss => 1,
+ atom => 1,
+ cgiurl => "http://localhost/amnesia/wiki",
+ url => "file:///live/image/doc/amnesia/wiki",
+ allow_symlinks_before_srcdir => 1,
+ tagbase => 'tags',
+ mirrorlist => { 'amnesia.boum.org' => 'https://amnesia.boum.org/ikiwiki.cgi' },
+ mirrorlist_use_cgi => 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 => '(about or bug_reporting or bugs or build or chat or customize or download or features or found_a_problem or git or GnuPG_key or index or news or security or security/* or sidebar or stay_tuned or support or support/* or talk-dev or talk-users or tarball or todo or torrents or upgrade or wishlist) and !security/audits and !security/audits/*',
+ po_link_to => 'current',
+}