summaryrefslogtreecommitdiff
path: root/doc/w3mmode/ikiwiki.setup
blob: 5f5cbbff927476d1ca85d74657d26f9560d8c5e4 (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. # The wrapper must be put in ~/.ikiwiki/wrappers/, since
  17. # ikiwiki-w3m.cgi only looks in this one location.
  18. # The wrapper can be given any name as long as it's
  19. # in that directory.
  20. cgi_wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
  21. cgi_wrappermode => "0755",
  22. add_plugins => [qw{anonok}],
  23. rss => 1,
  24. atom => 1,
  25. discussion => 1,
  26. }