summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: 95d2d46af9e146e9e5c70b01381dc40670463787 (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@myhost',
  11. # Be sure to customise these..
  12. srcdir => "/path/to/source",
  13. destdir => "/var/www/wiki",
  14. url => "http://myhost/wiki",
  15. cgiurl => "http://myhost/ikiwiki.cgi",
  16. #templatedir => "/usr/share/ikiwiki/templates",
  17. # Subversion stuff.
  18. rcs => "svn",
  19. #historyurl => "http://svn.myhost/trunk/[[file]]",
  20. #diffurl => "http://svn.someurl/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.host/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
  26. #diffurl => "http://git.host/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
  27. # Tla stuff.
  28. #rcs => "tla"
  29. #historyurl => ??,
  30. #diffurl => ??,
  31. wrappers => [
  32. #{
  33. # # The cgi wrapper.
  34. # cgi => 1,
  35. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  36. # wrappermode => "06755",
  37. #},
  38. {
  39. # The svn post-commit wrapper.
  40. # Note that this will overwrite any existing
  41. # post-commit hook script, which may not be
  42. # what you want.
  43. wrapper => "/svn/wikirepo/hooks/post-commit",
  44. wrappermode => "04755",
  45. # Enable mail notifications of commits.
  46. notify => 1,
  47. },
  48. #{
  49. # # The git post-update wrapper.
  50. # # Note that this will overwrite any existing
  51. # # post-update hook script, which may not be
  52. # # what you want.
  53. # wrapper => "/git/wikirepo/.git/hooks/post-update",
  54. # wrappermode => "04755",
  55. # # Enable mail notifications of commits.
  56. # notify => 1,
  57. #},
  58. ],
  59. # Can anonymous web users edit pages?
  60. #anonok => 1,
  61. # Generate rss feeds for pages?
  62. rss => 1,
  63. # Urls to ping with XML-RPC when rss feeds are updated
  64. #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
  65. # Include discussion links on all pages?
  66. discussion => 1,
  67. # To exclude files matching a regexp from processing. This adds to
  68. # the default exclude list.
  69. #exclude => qr/\*.wav/,
  70. # Time format (for strftime)
  71. #timeformat => '%c',
  72. # Locale to use. Must be a UTF-8 locale.
  73. #locale => 'en_US.UTF-8',
  74. # Only send cookies over SSL connections.
  75. #sslcookie => 1,
  76. # Logging settings:
  77. verbose => 0,
  78. syslog => 0,
  79. # To add plugins, list them here.
  80. #add_plugins => [qw{meta tag pagecount brokenlinks search smiley
  81. # wikitext camelcase pagestats htmltidy fortune
  82. # sidebar map rst toc}],
  83. # If you want to disable any of the default plugins, list them here.
  84. #disable_plugins => [qw{inline htmlscrubber}],
  85. }