summaryrefslogtreecommitdiff
path: root/ikiwiki_nb.setup
blob: 137ea161b264f926acc09e3b8a50346fd9d29693 (plain)
  1. #!/usr/bin/perl
  2. # Configuration file for ikiwiki.
  3. # Passing this to ikiwiki --setup will make ikiwiki generate wrappers and
  4. # build the wiki.
  5. #
  6. # Remember to re-run ikiwiki --setup any time you edit this file.
  7. use IkiWiki::Setup::Standard {
  8. wikiname => "MyWiki",
  9. #adminuser => ["yourname", ],
  10. adminemail => 'me@example.org',
  11. # Be sure to customise these..
  12. srcdir => $ENV{'HOME'} . "/private_webdata/samplewiki/content_dummy",
  13. destdir => $ENV{'HOME'} . "/public_websites/wiki.example.org",
  14. url => "http://wiki.example.org",
  15. cgiurl => "http://wiki.example.org/ikiwiki.cgi",
  16. templatedir => $ENV{'HOME'} . "/private_webdata/samplewiki/templates_nonedit_l10n/nb",
  17. underlaydirs => [
  18. $ENV{'HOME'} . "/private_webdata/samplewiki/content",
  19. #$ENV{'HOME'} . "/private_webdata/samplewiki/smiley_l10n/nb",
  20. $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki_nonedit_l10n/nb",
  21. ],
  22. # Some plugins (smiley in particular) need non-localized master underlay
  23. underlaydir => $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki_nonedit",
  24. # Git stuff.
  25. #rcs => "git",
  26. #historyurl => "http://git.example.org/?p=samplewiki_content.git;a=history;f=[[file]]", # ;hb=master
  27. #diffurl => "http://git.example.org/?p=samplewiki_content.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
  28. #gitorigin_branch => "samplewiki",
  29. #gitmaster_branch => "master",
  30. wrappers => [
  31. #{
  32. # # The cgi wrapper.
  33. # cgi => 1,
  34. # wrapper => $ENV{'HOME'} . "/public_cgi/wiki.example.org/ikiwiki.cgi",
  35. # wrappermode => "06755",
  36. #},
  37. #{
  38. # # The git post-update wrapper.
  39. # # Note that this will overwrite any existing
  40. # # post-update hook script, which may not be
  41. # # what you want.
  42. # wrapper => $ENV{'HOME'} . "/public_websites/git.example.org/samplewiki_content.git/hooks/post-update-ikiwiki-nb",
  43. # wrappermode => "06755",
  44. #},
  45. ],
  46. # Default to generating rss feeds for pages with feeds?
  47. #rss => 1,
  48. # Default to generating atom feeds for pages with feeds?
  49. #atom => 1,
  50. # Allow generating feeds even if not generated by default?
  51. #allowrss => 1,
  52. #allowatom => 1,
  53. # Urls to ping with XML-RPC when feeds are updated
  54. #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
  55. # Include discussion links on all pages?
  56. discussion => 1,
  57. # To exclude files matching a regexp from processing. This adds to
  58. # the default exclude list.
  59. #exclude => qr/\.wav$/,
  60. # To change the extension used for generated html files.
  61. #htmlext => 'htm',
  62. # Time format (for strftime)
  63. #timeformat => '%c',
  64. # Locale to use. Must be a UTF-8 locale.
  65. locale => 'nb_NO.UTF-8',
  66. # Only send cookies over SSL connections.
  67. #sslcookie => 1,
  68. # Logging settings:
  69. #verbose => 1,
  70. syslog => 0,
  71. # To link to user pages in a subdirectory of the wiki.
  72. #userdir => "users",
  73. # To create output files named page.html rather than page/index.html.
  74. #usedirs => 0,
  75. # Simple spam prevention: require an account-creation password.
  76. #account_creation_password => "example",
  77. # Cost of generating a password using Authen::Passphrase::BlowfishCrypt
  78. #password_cost => 8,
  79. # Uncomment to force ikiwiki to run with a particular umask.
  80. #umask => 022,
  81. # Default settings for the recentchanges page.
  82. #recentchangespage => "recentchanges",
  83. #recentchangesnum => 100,
  84. # Use new '!'-prefixed preprocessor directive syntax
  85. #prefix_directives => 1,
  86. # Attempt to make hardlinks to source files instead of copying them.
  87. # Useful if the wiki contains large media files.
  88. #hardlink => 1,
  89. # Enable use of multimarkdown features in .mdwn files.
  90. #multimarkdown => 1,
  91. # To add plugins, list them here.
  92. #add_plugins => [qw{goodstuff search wikitext camelcase
  93. # htmltidy fortune sidebar map rst anonok}],
  94. # If you want to disable any of the default plugins, list them here.
  95. #disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
  96. # To add a directory to the perl search path, use this.
  97. #libdir => "/home/me/private_webdata/samplewiki/perl",
  98. # To override environment variable settings, you can list values here.
  99. #ENV => {
  100. # TZ => "America/New_York",
  101. # PATH => "/home/me/bin:/usr/local/bin:/usr/bin:/bin",
  102. #},
  103. # For use with the tag plugin, make all tags be located under a
  104. # base page.
  105. #tagbase => "tag",
  106. # For use with the search plugin if the omega cgi is located
  107. # somewhere else.
  108. #omega_cgi => "/usr/lib/cgi-bin/omega/omega",
  109. # For use with the openid plugin, to give an url to a page users
  110. # can use to signup for an OpenID.
  111. #openidsignup => "http://myopenid.com/",
  112. # For use with the mirrorlist plugin, a list of mirrors.
  113. #mirrorlist => {
  114. # mirror1 => "http://hostname1",
  115. # mirror2 => "http://hostname2/mirror",
  116. #},
  117. # For use with the anonok plugin, a PageSpec specifying what
  118. # pages anonymous users can edit
  119. #anonok_pagespec => "*",
  120. # For use with the aggregate plugin.
  121. # Enable aggregation to internal pages. New wikis should set this to 1,
  122. # but if you use aggregate already, read the aggregate plugin docs
  123. # before enabling it.
  124. #aggregateinternal => 1,
  125. # Allow aggregation to be triggered via the web.
  126. #aggregate_webtrigger => 1,
  127. # For use with the pinger plugin, how many seconds to wait before
  128. # timing out.
  129. #pinger_timeout => 15.
  130. # For use with the amazon S3 plugin, your public access key id.
  131. #amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX',
  132. # And a file holding your secret key. This file *must* not be
  133. # readable by others!
  134. #amazon_s3_key_file => "/home/me/secret_webdata/s3_key
  135. # The globally unique name of the bucket to use to store the wiki.
  136. #amazon_s3_bucket => "mywiki",
  137. # A prefix to prepend to each page name.
  138. #amazon_s3_prefix => "wiki/",
  139. # Uncomment to use the S3 European datacenter.
  140. #amazon_s3_location => "EU",
  141. # Uncomment if you need to store each index file twice.
  142. #amazon_s3_dupindex => 1,
  143. # For use with the attachment plugin, a program that returns
  144. # nonzero if its standard input contains an virus.
  145. #virus_checker => "clamdscan -",
  146. }