summaryrefslogtreecommitdiff
path: root/doc/w3mmode/ikiwiki.setup
blob: e088561581b580bfa11fe4eb4e2dbbd391df2d34 (plain)
  1. #!/usr/bin/perl
  2. # Configuration file for ikiwiki (w3m mode).
  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 => "ikiwiki",
  9. # Be sure to customise these..
  10. srcdir => "doc",
  11. destdir => "html",
  12. # Enable w3m mode.
  13. w3mmode => 1,
  14. cgiurl => 'ikiwiki.cgi',
  15. rcs => "",
  16. wrappers => [
  17. {
  18. # The cgi wrapper.
  19. cgi => 1,
  20. # The wrapper must be put in ~/.ikiwiki/wrappers/, since
  21. # ikiwiki-w3m.cgi only looks in this one location.
  22. # The wrapper can be given any name as long as it's
  23. # in that directory.
  24. wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
  25. wrappermode => "0755",
  26. },
  27. ],
  28. add_plugins => [qw{anonok}],
  29. rss => 1,
  30. atom => 1,
  31. discussion => 1,
  32. }