summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: 910b2b527dcfa97538b2660d14613b5de8693710 (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 => "/path/to/source",
  13. destdir => "/var/www/wiki",
  14. url => "http://example.org/wiki",
  15. cgiurl => "http://example.org/ikiwiki.cgi",
  16. #templatedir => "/usr/share/ikiwiki/templates",
  17. # Subversion stuff.
  18. #rcs => "svn",
  19. #historyurl => "http://svn.example.org/trunk/[[file]]",
  20. #diffurl => "http://svn.example.org/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
  21. #svnrepo => "/svn/wiki",
  22. #svnpath => "trunk",
  23. # Git stuff.
  24. #rcs => "git",
  25. #historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
  26. #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
  27. #gitorigin_branch => "origin",
  28. #gitmaster_branch => "master",
  29. # Tla stuff.
  30. #rcs => "tla"
  31. #historyurl => ??,
  32. #diffurl => ??,
  33. # Mercurial stuff.
  34. #rcs => "mercurial",
  35. #historyurl => "http://localhost:8000/", # hg serve'd local repository
  36. #diffurl => "http://localhost:8000/?fd=[[changeset]];file=[[file]]",
  37. wrappers => [
  38. #{
  39. # # The cgi wrapper.
  40. # cgi => 1,
  41. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  42. # wrappermode => "06755",
  43. #},
  44. #{
  45. # # The svn post-commit wrapper.
  46. # # Note that this will overwrite any existing
  47. # # post-commit hook script, which may not be
  48. # # what you want.
  49. # wrapper => "/svn/wikirepo/hooks/post-commit",
  50. # wrappermode => "04755",
  51. # # Enable mail notifications of commits.
  52. # notify => 1,
  53. #},
  54. #{
  55. # # The git post-update wrapper.
  56. # # Note that this will overwrite any existing
  57. # # post-update hook script, which may not be
  58. # # what you want.
  59. # wrapper => "/git/wiki.git/hooks/post-update",
  60. # wrappermode => "04755",
  61. # # Enable mail notifications of commits.
  62. # notify => 1,
  63. #},
  64. ],
  65. # Can anonymous web users edit pages?
  66. #anonok => 1,
  67. # Generate rss feeds for blogs?
  68. rss => 1,
  69. # Generate atom feeds for blogs?
  70. atom => 1,
  71. # Urls to ping with XML-RPC when rss feeds are updated
  72. #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
  73. # Include discussion links on all pages?
  74. discussion => 1,
  75. # To exclude files matching a regexp from processing. This adds to
  76. # the default exclude list.
  77. #exclude => qr/*\.wav/,
  78. # Time format (for strftime)
  79. #timeformat => '%c',
  80. # Locale to use. Must be a UTF-8 locale.
  81. #locale => 'en_US.UTF-8',
  82. # Only send cookies over SSL connections.
  83. #sslcookie => 1,
  84. # Logging settings:
  85. verbose => 0,
  86. syslog => 0,
  87. # To link to user pages in a subdirectory of the wiki.
  88. #userdir => "users",
  89. # To add plugins, list them here.
  90. #add_plugins => [qw{goodstuff openid search wikitext camelcase
  91. # htmltidy fortune sidebar map rst}],
  92. # If you want to disable any of the default plugins, list them here.
  93. #disable_plugins => [qw{inline htmlscrubber passwordauth}],
  94. # For use with the tag plugin, make all tags be located under a
  95. # base page.
  96. #tagbase => "tag",
  97. # For use with the search plugin if your estseek.cgi is located
  98. # somewhere else.
  99. #estseek => "/usr/lib/estraier/estseek.cgi",
  100. # For use with the openid plugin, to give an url to a page users
  101. # can use to signup for an OpenID.
  102. #openidsignup => "http://myopenid.com/",
  103. # For use with the mirrorlist plugin, a list of mirrors.
  104. #mirrorlist => {
  105. # mirror1 => "http://hostname1",
  106. # mirror2 => "http://hostname2/mirror",
  107. #},
  108. }