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