summaryrefslogtreecommitdiff
path: root/ikiwiki.setup
blob: e3d670539a97f59e5262c291cbb53c5a3a50fb22 (plain)
  1. #!/usr/bin/perl
  2. # Configuration file for ikiwiki.
  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 => "GoLearn",
  9. #adminuser => ["yourname", ],
  10. adminemail => 'webmaster@jones.dk',
  11. # Be sure to customise these..
  12. srcdir => $ENV{'HOME'} . "/private_webdata/golearn/content_dummy",
  13. destdir => $ENV{'HOME'} . "/public_websites/golearn.biks.dk",
  14. url => "http://golearn.biks.dk",
  15. #cgiurl => "http://example.org/ikiwiki.cgi",
  16. #templatedir => "/usr/share/ikiwiki/templates",
  17. underlaydirs => [
  18. $ENV{'HOME'} . "/private_webdata/golearn/content",
  19. ],
  20. #underlaydir => "/usr/share/ikiwiki/basewiki",
  21. # Subversion stuff.
  22. #rcs => "svn",
  23. #historyurl => "http://svn.example.org/trunk/[[file]]",
  24. #diffurl => "http://svn.example.org/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
  25. #svnpath => "trunk",
  26. # Git stuff.
  27. rcs => "git",
  28. #historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
  29. #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
  30. #gitorigin_branch => "origin",
  31. #gitmaster_branch => "master",
  32. # Tla stuff.
  33. #rcs => "tla"
  34. #historyurl => ??,
  35. #diffurl => ??,
  36. # Mercurial stuff.
  37. #rcs => "mercurial",
  38. #historyurl => "http://localhost:8000/log/tip/[[file]]", # hg serve'd local repository
  39. #diffurl => "http://localhost:8000/?fd=[[r2]];file=[[file]]",
  40. # Bazaar stuff.
  41. #rcs => "bzr",
  42. #historyurl => "",
  43. #diffurl => "http://example.com/revision?start_revid=[[r2]]#[[file]]-s", # using loggerhead
  44. # Monotone stuff
  45. #rcs => "monotone",
  46. #mtnkey => "web\@machine.company.com",
  47. #historyurl => "http://viewmtn.example.com/",
  48. #diffurl => "http://viewmtn.example.com/revision/diff/[[r1]]/with/[[r2]]/[[file]]",
  49. # Set if you want the wiki to sync on update and commit.
  50. #mtnsync => 0,
  51. # The path to your workspace (defaults to the srcdir itself)
  52. # e.g. use if your srcdir is a subdirectory of the workspace.
  53. #mtnrootdir => "path/to/root/of/workspace",
  54. # This is a monotone lua hook file used by ikiwiki for
  55. # inserting conflict markers. By default it will use
  56. # mtnrootdir/_MTN/mergerc. This hook will be populated with
  57. # default code the first time you use ikiwiki. You can
  58. # change it to alter how conflict markers are inserted.
  59. #mtnmergerc => "path/to/mergerc",
  60. wrappers => [
  61. #{
  62. # # The cgi wrapper.
  63. # cgi => 1,
  64. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  65. # wrappermode => "06755",
  66. #},
  67. #{
  68. # # The svn post-commit wrapper.
  69. # # Note that this will overwrite any existing
  70. # # post-commit hook script, which may not be
  71. # # what you want.
  72. # wrapper => "/svn/wikirepo/hooks/post-commit",
  73. # wrappermode => "04755",
  74. # # Log to syslog since svn post-commit hooks
  75. # # hide output and errors.
  76. # syslog => 1,
  77. #},
  78. {
  79. # # The git post-update wrapper.
  80. # # Note that this will overwrite any existing
  81. # # post-update hook script, which may not be
  82. # # what you want.
  83. wrapper => $ENV{'HOME'} . "/public_websites/source.jones.dk/golearn_content.git/hooks/post-update-golearn",
  84. wrappermode => "06755",
  85. },
  86. ],
  87. # Default to generating rss feeds for blogs?
  88. rss => 1,
  89. # Default to generating atom feeds for blogs?
  90. atom => 1,
  91. # Allow generating feeds even if not generated by default?
  92. #allowrss => 1,
  93. #allowatom => 1,
  94. # Urls to ping with XML-RPC when rss feeds are updated
  95. #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
  96. # Include discussion links on all pages?
  97. discussion => 0,
  98. # To exclude files matching a regexp from processing. This adds to
  99. # the default exclude list.
  100. #exclude => qr/*\.wav/,
  101. # To change the extension used for generated html files.
  102. #htmlext => 'htm',
  103. # Time format (for strftime)
  104. #timeformat => '%c',
  105. # Locale to use. Must be a UTF-8 locale.
  106. locale => 'en_US.UTF-8',
  107. # Only send cookies over SSL connections.
  108. #sslcookie => 1,
  109. # Logging settings:
  110. #verbose => 1,
  111. syslog => 0,
  112. # To link to user pages in a subdirectory of the wiki.
  113. #userdir => "users",
  114. # To create output files named page.html rather than page/index.html.
  115. #usedirs => 0,
  116. # Simple spam prevention: require an account-creation password.
  117. #account_creation_password => "example",
  118. # Uncomment to force ikiwiki to run with a particular umask.
  119. #umask => 022,
  120. # Default settings for the recentchanges page.
  121. #recentchangespage => "recentchanges",
  122. #recentchangesnum => 100,
  123. # To add plugins, list them here.
  124. add_plugins => [qw{goodstuff httpauth typography sidebar favicon graphviz}],
  125. # If you want to disable any of the default plugins, list them here.
  126. disable_plugins => [qw{passwordauth openid recentchanges}],
  127. # To add a directory to the perl searh path, use this.
  128. libdir => "/home/debian/private_webdata/golearn/perl",
  129. # For use with the tag plugin, make all tags be located under a
  130. # base page.
  131. #tagbase => "tag",
  132. # For use with the search plugin if your estseek.cgi is located
  133. # somewhere else.
  134. #estseek => "/usr/lib/estraier/estseek.cgi",
  135. # For use with the openid plugin, to give an url to a page users
  136. # can use to signup for an OpenID.
  137. #openidsignup => "http://myopenid.com/",
  138. # For use with the mirrorlist plugin, a list of mirrors.
  139. #mirrorlist => {
  140. # mirror1 => "http://hostname1",
  141. # mirror2 => "http://hostname2/mirror",
  142. #},
  143. # Avoid english-only Text::Typography hyphen conversion
  144. typographyattributes => 'ie',
  145. }