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