2006-03-13 19:35:23 +01:00
|
|
|
#!/usr/bin/perl
|
|
|
|
# Configuration file for ikiwiki.
|
2007-02-09 03:59:19 +01:00
|
|
|
# Passing this to ikiwiki --setup will make ikiwiki generate wrappers and
|
2006-07-03 23:29:56 +02:00
|
|
|
# build the wiki.
|
2006-03-13 19:35:23 +01:00
|
|
|
#
|
|
|
|
# Remember to re-run ikiwiki --setup any time you edit this file.
|
|
|
|
|
2006-03-15 04:24:34 +01:00
|
|
|
use IkiWiki::Setup::Standard {
|
2006-03-13 19:35:23 +01:00
|
|
|
wikiname => "MyWiki",
|
2006-03-23 02:40:46 +01:00
|
|
|
#adminuser => ["yourname", ],
|
2006-11-19 22:15:53 +01:00
|
|
|
adminemail => 'me@example.org',
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2006-03-13 19:35:23 +01:00
|
|
|
# Be sure to customise these..
|
|
|
|
srcdir => "/path/to/source",
|
|
|
|
destdir => "/var/www/wiki",
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2006-11-19 22:15:53 +01:00
|
|
|
url => "http://example.org/wiki",
|
2008-05-21 20:57:03 +02:00
|
|
|
cgiurl => "http://example.org/wiki/ikiwiki.cgi",
|
2006-03-23 03:53:03 +01:00
|
|
|
#templatedir => "/usr/share/ikiwiki/templates",
|
2007-02-09 04:06:24 +01:00
|
|
|
#underlaydir => "/usr/share/ikiwiki/basewiki",
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2006-06-02 07:43:58 +02:00
|
|
|
# Subversion stuff.
|
2006-11-20 23:57:20 +01:00
|
|
|
#rcs => "svn",
|
2006-11-19 22:15:53 +01:00
|
|
|
#historyurl => "http://svn.example.org/trunk/[[file]]",
|
|
|
|
#diffurl => "http://svn.example.org/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
|
2008-04-17 20:37:55 +02:00
|
|
|
#svnrepo => "/svn/wiki",
|
2006-11-20 23:57:20 +01:00
|
|
|
#svnpath => "trunk",
|
2006-03-13 20:29:21 +01:00
|
|
|
|
2006-06-02 07:43:58 +02:00
|
|
|
# Git stuff.
|
|
|
|
#rcs => "git",
|
2006-11-19 22:15:53 +01:00
|
|
|
#historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
|
|
|
|
#diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
|
2007-01-28 00:56:17 +01:00
|
|
|
#gitorigin_branch => "origin",
|
|
|
|
#gitmaster_branch => "master",
|
2006-06-02 07:43:58 +02:00
|
|
|
|
2006-09-04 08:15:54 +02:00
|
|
|
# Tla stuff.
|
|
|
|
#rcs => "tla"
|
|
|
|
#historyurl => ??,
|
|
|
|
#diffurl => ??,
|
|
|
|
|
2006-09-06 22:31:55 +02:00
|
|
|
# Mercurial stuff.
|
|
|
|
#rcs => "mercurial",
|
2007-11-17 20:43:49 +01:00
|
|
|
#historyurl => "http://localhost:8000/log/tip/[[file]]", # hg serve'd local repository
|
2007-08-31 01:45:56 +02:00
|
|
|
#diffurl => "http://localhost:8000/?fd=[[r2]];file=[[file]]",
|
2006-09-06 22:31:55 +02:00
|
|
|
|
2008-01-30 01:56:19 +01:00
|
|
|
# Bazaar stuff.
|
|
|
|
#rcs => "bzr",
|
2008-01-30 02:32:19 +01:00
|
|
|
#historyurl => "",
|
|
|
|
#diffurl => "http://example.com/revision?start_revid=[[r2]]#[[file]]-s", # using loggerhead
|
2008-01-30 01:56:19 +01:00
|
|
|
|
2007-08-21 05:10:35 +02:00
|
|
|
# Monotone stuff
|
|
|
|
#rcs => "monotone",
|
|
|
|
#mtnkey => "web\@machine.company.com",
|
2008-02-24 23:58:25 +01:00
|
|
|
#historyurl => "http://viewmtn.example.com/branch/head/filechanges/com.example.branch/[[file]]",
|
2008-02-04 00:14:39 +01:00
|
|
|
#diffurl => "http://viewmtn.example.com/revision/diff/[[r1]]/with/[[r2]]/[[file]]",
|
2007-08-21 05:22:45 +02:00
|
|
|
# Set if you want the wiki to sync on update and commit.
|
|
|
|
#mtnsync => 0,
|
|
|
|
# The path to your workspace (defaults to the srcdir itself)
|
|
|
|
# e.g. use if your srcdir is a subdirectory of the workspace.
|
|
|
|
#mtnrootdir => "path/to/root/of/workspace",
|
2007-08-21 05:10:35 +02:00
|
|
|
|
2006-03-15 04:24:34 +01:00
|
|
|
wrappers => [
|
2006-06-02 07:43:58 +02:00
|
|
|
#{
|
|
|
|
# # The cgi wrapper.
|
|
|
|
# cgi => 1,
|
|
|
|
# wrapper => "/var/www/wiki/ikiwiki.cgi",
|
|
|
|
# wrappermode => "06755",
|
|
|
|
#},
|
2006-11-20 23:57:20 +01:00
|
|
|
#{
|
|
|
|
# # The svn post-commit wrapper.
|
|
|
|
# # Note that this will overwrite any existing
|
|
|
|
# # post-commit hook script, which may not be
|
|
|
|
# # what you want.
|
|
|
|
# wrapper => "/svn/wikirepo/hooks/post-commit",
|
|
|
|
# wrappermode => "04755",
|
2007-04-10 00:54:37 +02:00
|
|
|
# # Log to syslog since svn post-commit hooks
|
|
|
|
# # hide output and errors.
|
|
|
|
# syslog => 1,
|
2006-11-20 23:57:20 +01:00
|
|
|
#},
|
2006-04-03 02:00:16 +02:00
|
|
|
#{
|
2006-06-02 07:43:58 +02:00
|
|
|
# # The git post-update wrapper.
|
2006-06-03 20:03:41 +02:00
|
|
|
# # Note that this will overwrite any existing
|
|
|
|
# # post-update hook script, which may not be
|
2006-06-02 07:43:58 +02:00
|
|
|
# # what you want.
|
2006-11-19 22:15:53 +01:00
|
|
|
# wrapper => "/git/wiki.git/hooks/post-update",
|
2007-11-12 18:28:31 +01:00
|
|
|
# wrappermode => "06755",
|
2006-04-03 02:00:16 +02:00
|
|
|
#},
|
2008-02-14 22:10:33 +01:00
|
|
|
#{
|
|
|
|
# # The monotone netsync hook.
|
|
|
|
# wrapper => "path/to/root/of/workspace/_MTN/ikiwiki-netsync-hook",
|
|
|
|
# wrappermode => "06755",
|
|
|
|
#},
|
2006-03-15 04:24:34 +01:00
|
|
|
],
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2008-04-10 23:59:11 +02:00
|
|
|
# Default to generating rss feeds for pages with feeds?
|
2008-02-05 00:36:50 +01:00
|
|
|
#rss => 1,
|
2008-04-10 23:59:11 +02:00
|
|
|
# Default to generating atom feeds for pages with feeds?
|
2008-02-05 00:36:50 +01:00
|
|
|
#atom => 1,
|
|
|
|
# Allow generating feeds even if not generated by default?
|
|
|
|
#allowrss => 1,
|
|
|
|
#allowatom => 1,
|
2008-05-07 01:06:53 +02:00
|
|
|
# Urls to ping with XML-RPC when feeds are updated
|
2006-06-27 03:13:03 +02:00
|
|
|
#pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
|
2006-05-05 20:20:52 +02:00
|
|
|
# Include discussion links on all pages?
|
|
|
|
discussion => 1,
|
2006-07-28 19:48:24 +02:00
|
|
|
# To exclude files matching a regexp from processing. This adds to
|
|
|
|
# the default exclude list.
|
2008-03-06 18:09:10 +01:00
|
|
|
#exclude => qr/\.wav$/,
|
2007-07-25 03:16:53 +02:00
|
|
|
# To change the extension used for generated html files.
|
2007-07-27 02:49:00 +02:00
|
|
|
#htmlext => 'htm',
|
2006-05-29 07:09:43 +02:00
|
|
|
# Time format (for strftime)
|
|
|
|
#timeformat => '%c',
|
2006-07-29 23:04:31 +02:00
|
|
|
# Locale to use. Must be a UTF-8 locale.
|
|
|
|
#locale => 'en_US.UTF-8',
|
2006-08-27 22:25:05 +02:00
|
|
|
# Only send cookies over SSL connections.
|
|
|
|
#sslcookie => 1,
|
2006-08-16 23:17:49 +02:00
|
|
|
# Logging settings:
|
2007-06-01 19:55:21 +02:00
|
|
|
#verbose => 1,
|
2006-08-16 23:17:49 +02:00
|
|
|
syslog => 0,
|
2006-12-19 17:58:55 +01:00
|
|
|
# To link to user pages in a subdirectory of the wiki.
|
|
|
|
#userdir => "users",
|
2007-04-30 00:54:14 +02:00
|
|
|
# To create output files named page.html rather than page/index.html.
|
|
|
|
#usedirs => 0,
|
2007-05-09 04:05:32 +02:00
|
|
|
# Simple spam prevention: require an account-creation password.
|
|
|
|
#account_creation_password => "example",
|
2008-05-29 21:17:19 +02:00
|
|
|
# Cost of generating a password using Authen::Passphrase::BlowfishCrypt
|
|
|
|
#password_cost => 8,
|
2007-11-27 22:46:02 +01:00
|
|
|
# Uncomment to force ikiwiki to run with a particular umask.
|
2008-01-27 01:34:04 +01:00
|
|
|
#umask => 022,
|
2008-01-29 21:51:32 +01:00
|
|
|
# Default settings for the recentchanges page.
|
|
|
|
#recentchangespage => "recentchanges",
|
|
|
|
#recentchangesnum => 100,
|
2008-02-08 19:57:41 +01:00
|
|
|
# Use new '!'-prefixed preprocessor directive syntax
|
2008-07-17 06:19:22 +02:00
|
|
|
#prefix_directives => 1,
|
2008-03-30 03:02:47 +02:00
|
|
|
# Attempt to make hardlinks to source files instead of copying them.
|
|
|
|
# Useful if the wiki contains large media files.
|
|
|
|
#hardlink => 1,
|
2008-05-13 18:43:25 +02:00
|
|
|
# Enable use of multimarkdown features in .mdwn files.
|
|
|
|
#multimarkdown => 1,
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2006-07-03 23:29:56 +02:00
|
|
|
# To add plugins, list them here.
|
2007-04-30 00:54:14 +02:00
|
|
|
#add_plugins => [qw{goodstuff search wikitext camelcase
|
2007-02-02 03:33:03 +01:00
|
|
|
# htmltidy fortune sidebar map rst anonok}],
|
2006-07-03 23:29:56 +02:00
|
|
|
# If you want to disable any of the default plugins, list them here.
|
2007-04-30 00:54:14 +02:00
|
|
|
#disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
|
2007-11-27 06:40:05 +01:00
|
|
|
# To add a directory to the perl search path, use this.
|
2007-07-27 02:48:06 +02:00
|
|
|
#libdir => "/home/me/.ikiwiki/",
|
2008-05-16 00:20:52 +02:00
|
|
|
|
|
|
|
# To override environment variable settings, you can list values here.
|
|
|
|
#ENV => {
|
|
|
|
# TZ => "America/New_York",
|
|
|
|
# PATH => "/home/me/bin:/usr/local/bin:/usr/bin:/bin",
|
|
|
|
#},
|
2006-09-18 22:53:17 +02:00
|
|
|
|
|
|
|
# For use with the tag plugin, make all tags be located under a
|
|
|
|
# base page.
|
2007-01-15 04:22:17 +01:00
|
|
|
#tagbase => "tag",
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2008-06-03 21:29:54 +02:00
|
|
|
# For use with the search plugin if the omega cgi is located
|
2006-09-18 22:53:17 +02:00
|
|
|
# somewhere else.
|
2008-06-03 21:29:54 +02:00
|
|
|
#omega_cgi => "/usr/lib/cgi-bin/omega/omega",
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2006-11-20 10:40:09 +01:00
|
|
|
# For use with the openid plugin, to give an url to a page users
|
|
|
|
# can use to signup for an OpenID.
|
|
|
|
#openidsignup => "http://myopenid.com/",
|
2007-02-09 03:59:19 +01:00
|
|
|
|
2006-12-23 02:07:11 +01:00
|
|
|
# For use with the mirrorlist plugin, a list of mirrors.
|
|
|
|
#mirrorlist => {
|
|
|
|
# mirror1 => "http://hostname1",
|
|
|
|
# mirror2 => "http://hostname2/mirror",
|
|
|
|
#},
|
2008-05-01 20:58:23 +02:00
|
|
|
|
|
|
|
# For use with the anonok plugin, a PageSpec specifying what
|
|
|
|
# pages anonymous users can edit
|
|
|
|
#anonok_pagespec => "*",
|
2008-05-06 02:20:45 +02:00
|
|
|
|
2008-07-15 02:06:53 +02:00
|
|
|
# For use with the aggregate plugin.
|
2008-07-15 03:01:37 +02:00
|
|
|
# Enable aggregation to internal pages. New wikis should set this to 1,
|
2008-07-15 02:49:44 +02:00
|
|
|
# but if you use aggregate already, read the aggregate plugin docs
|
|
|
|
# before enabling it.
|
2008-07-15 03:01:37 +02:00
|
|
|
#aggregateinternal => 1,
|
2008-07-15 02:06:53 +02:00
|
|
|
# Allow aggregation to be triggered via the web.
|
2008-05-06 02:20:45 +02:00
|
|
|
#aggregate_webtrigger => 1,
|
2008-05-07 01:06:53 +02:00
|
|
|
|
|
|
|
# For use with the pinger plugin, how many seconds to wait before
|
|
|
|
# timing out.
|
|
|
|
#pinger_timeout => 15.
|
2008-05-08 05:15:43 +02:00
|
|
|
|
|
|
|
# For use with the amazon S3 plugin, your public access key id.
|
|
|
|
#amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX',
|
|
|
|
# And a file holding your secret key. This file *must* not be
|
|
|
|
# readable by others!
|
|
|
|
#amazon_s3_key_file => "/home/me/.hide/.s3_key
|
|
|
|
# The globally unique name of the bucket to use to store the wiki.
|
|
|
|
#amazon_s3_bucket => "mywiki",
|
|
|
|
# A prefix to prepend to each page name.
|
|
|
|
#amazon_s3_prefix => "wiki/",
|
|
|
|
# Uncomment to use the S3 European datacenter.
|
|
|
|
#amazon_s3_location => "EU",
|
2008-05-08 21:51:09 +02:00
|
|
|
# Uncomment if you need to store each index file twice.
|
|
|
|
#amazon_s3_dupindex => 1,
|
2008-07-06 23:36:26 +02:00
|
|
|
|
|
|
|
# For use with the attachment plugin, a program that returns
|
|
|
|
# nonzero if its standard input contains an virus.
|
|
|
|
#virus_checker => "clamdscan -",
|
2006-03-15 04:24:34 +01:00
|
|
|
}
|