summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: 3bc15891e285435bd664ae13b23b6b3fc3a628c5 (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. #rcs => "", # don't use svn
  20. rcs => "svn", # use svn (the default)
  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. # Sanitize html?
  46. sanitize => 1,
  47. # To change the enabled plugins, edit this list
  48. #plugin => [qw{pagecount inline brokenlinks hyperestraier}],
  49. }