2 # Configuration file for ikiwiki to build its documentation wiki.
4 # Use git during the build, if it's available and if we're building
5 # from a git checkout. This ensures ikiwiki gets the right mtimes and
6 # ctimes for files in the doc wiki.
9 my $git=`which git 2>&1`;
11 if (-x $git && -d ".git") {
16 use IkiWiki::Setup::Standard {
17 wikiname => "ikiwiki",
20 templatedir => "templates",
21 underlaydirbase => "underlays",
22 underlaydir => "underlays/basewiki",
24 exclude => qr/\/discussion|bugs\/*|todo\/*|forum\/*/, # save space
30 prefix_directives => 1,
31 add_plugins => [qw{goodstuff version haiku polygen fortune table}],
32 # not appropriate for doc dir
33 disable_plugins => [qw{recentchanges openid}],
35 gitorigin_branch => '', # don't pull during build