summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: 89a331790afca50c110ea465cd761e7903c73c17 (plain)
  1. #!/usr/bin/perl
  2. # Configuration file for ikiwiki.
  3. # Passing this to ikiwiki --setup will make ikiwiki generate two
  4. # wrapper programs, one for cgi and one for a subversion post-commit hook.
  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. #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
  17. #templatedir => "/usr/share/ikiwiki/templates",
  18. # Subversion stuff.
  19. rcs => "svn",
  20. #historyurl => "http://svn.myhost/trunk/[[file]]",
  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. wrappers => [
  27. #{
  28. # # The cgi wrapper.
  29. # cgi => 1,
  30. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  31. # wrappermode => "06755",
  32. #},
  33. {
  34. # The svn post-commit wrapper.
  35. # Note that this will overwrite any exsting
  36. # post-commit hook script, which may not be
  37. # what you want.
  38. wrapper => "/svn/wikirepo/hooks/post-commit",
  39. wrappermode => "04755",
  40. # Enable mail notifications of commits.
  41. notify => 1,
  42. },
  43. #{
  44. # # The git post-update wrapper.
  45. # # Note that this will overwrite any exsting
  46. # # post-commit hook script, which may not be
  47. # # what you want.
  48. # wrapper => "/git/wikirepo/hooks/post-update",
  49. # wrappermode => "04755",
  50. # # Enable mail notifications of commits.
  51. # notify => 1,
  52. #},
  53. ],
  54. # Can anonymous web users edit pages?
  55. #anonok => 1,
  56. # Generate rss feeds for pages?
  57. rss => 1,
  58. # Include discussion links on all pages?
  59. discussion => 1,
  60. # Time format (for strftime)
  61. #timeformat => '%c',
  62. # To change the enabled plugins, edit this list
  63. #plugin => [qw{pagecount inline brokenlinks search smiley
  64. # htmlscrubber}],
  65. }