summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: a9a9b9f19aaff36d5797157d6bb045e955fe3da1 (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. # To change the extension used for generated html files.
  81. #htmlext => 'htm',
  82. # Time format (for strftime)
  83. #timeformat => '%c',
  84. # Locale to use. Must be a UTF-8 locale.
  85. #locale => 'en_US.UTF-8',
  86. # Only send cookies over SSL connections.
  87. #sslcookie => 1,
  88. # Logging settings:
  89. #verbose => 1,
  90. syslog => 0,
  91. # To link to user pages in a subdirectory of the wiki.
  92. #userdir => "users",
  93. # To create output files named page.html rather than page/index.html.
  94. #usedirs => 0,
  95. # Simple spam prevention: require an account-creation password.
  96. #account_creation_password => "example",
  97. # To add plugins, list them here.
  98. #add_plugins => [qw{goodstuff search wikitext camelcase
  99. # htmltidy fortune sidebar map rst anonok}],
  100. # If you want to disable any of the default plugins, list them here.
  101. #disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
  102. # To add a directory to the perl searh path, use this.
  103. #libdir => "/home/me/.ikiwiki/",
  104. # For use with the tag plugin, make all tags be located under a
  105. # base page.
  106. #tagbase => "tag",
  107. # For use with the search plugin if your estseek.cgi is located
  108. # somewhere else.
  109. #estseek => "/usr/lib/estraier/estseek.cgi",
  110. # For use with the openid plugin, to give an url to a page users
  111. # can use to signup for an OpenID.
  112. #openidsignup => "http://myopenid.com/",
  113. # For use with the mirrorlist plugin, a list of mirrors.
  114. #mirrorlist => {
  115. # mirror1 => "http://hostname1",
  116. # mirror2 => "http://hostname2/mirror",
  117. #},
  118. }