summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: 87a19aefc738c560f4c8b76cea0bfc5ae46dcce0 (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. #historyurl => "http://svn.myhost/trunk/[[file]]",
  17. #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
  18. #templatedir => "/usr/share/ikiwiki/templates",
  19. # Whether to integrate with svn.
  20. svn => 1,
  21. svnrepo => "/svn/wiki",
  22. svnpath => "trunk",
  23. wrappers => [
  24. {
  25. # The svn wrapper.
  26. # Note that this will overwrite any exsting
  27. # post-commit hook script, which may not be
  28. # what you want.
  29. wrapper => "/svn/wiki/hooks/post-commit",
  30. wrappermode => "04755",
  31. # Enable mail notifications of commits.
  32. notify => 1,
  33. },
  34. #{
  35. # # The cgi wrapper.
  36. # cgi => 1,
  37. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  38. # wrappermode => "06755",
  39. #},
  40. ],
  41. # Can anonymous web users edit pages?
  42. #anonok => 1,
  43. # Generate rss feeds for pages?
  44. rss => 1,
  45. # Use the Hyper Estraier search engine?
  46. #hyperestraier => 1,
  47. # Sanitize html?
  48. sanitize => 1,
  49. # To change the enabled plugins, edit this list
  50. #plugin => [qw{pagecount inline brokenlinks}],
  51. }