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