summaryrefslogtreecommitdiff
path: root/ikiwiki_nb.setup
blob: e844b5884949dd36df586fc31f3bc26a5a322ce6 (plain)
  1. #!/usr/bin/perl
  2. # Setup file for ikiwiki.
  3. #
  4. # Passing this to ikiwiki --setup will make ikiwiki generate
  5. # wrappers and build the wiki.
  6. #
  7. # Remember to re-run ikiwiki --setup any time you edit this file.
  8. use IkiWiki::Setup::Standard {
  9. # name of the wiki
  10. wikiname => 'MyWiki',
  11. # contact email for wiki
  12. #adminemail => 'me@example.org',
  13. # users who are wiki admins
  14. adminuser => [],
  15. # users who are banned from the wiki
  16. banned_users => [],
  17. # where the source of the wiki is located
  18. srcdir => $ENV{'HOME'} . '/private_webdata/samplewiki/content_dummy',
  19. # where to build the wiki
  20. destdir => $ENV{'HOME'} . '/public_websites/wiki.example.org',
  21. # base url to the wiki
  22. url => 'http://wiki.example.org',
  23. # url to the ikiwiki.cgi
  24. cgiurl => 'http://wiki.example.org/ikiwiki.cgi',
  25. # cgi wrapper to generate
  26. cgi_wrapper => $ENV{'HOME'} . '/public_cgi/wiki.example.org/ikiwiki.cgi',
  27. # mode for cgi_wrapper (can safely be made suid)
  28. cgi_wrappermode => '06755',
  29. # rcs backend to use
  30. rcs => '',
  31. # plugins to add to the default configuration
  32. add_plugins => [],
  33. # plugins to disable
  34. disable_plugins => [],
  35. # location of template files
  36. templatedir => $ENV{'HOME'} . '/private_webdata/samplewiki/templates_nonedit_l10n/nb',
  37. # base wiki source location
  38. underlaydirs => [
  39. $ENV{'HOME'} . "/private_webdata/samplewiki/content",
  40. #$ENV{'HOME'} . "/private_webdata/samplewiki/smiley_l10n/nb",
  41. $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki_nonedit_l10n/nb",
  42. ],
  43. # Some plugins (smiley in particular) need non-localized master underlay
  44. underlaydir => $ENV{'HOME'} . '/private_webdata/samplewiki/basewiki_nonedit',
  45. # display verbose messages when building?
  46. #verbose => 1,
  47. # log to syslog?
  48. #syslog => 1,
  49. # create output files named page/index.html?
  50. usedirs => 1,
  51. # use '!'-prefixed preprocessor directives?
  52. prefix_directives => 0,
  53. # use page/index.mdwn source files
  54. indexpages => 0,
  55. # enable Discussion pages?
  56. discussion => 1,
  57. # only send cookies over SSL connections?
  58. sslcookie => 0,
  59. # extension to use for new pages
  60. default_pageext => 'mdwn',
  61. # extension to use for html files
  62. htmlext => 'html',
  63. # strftime format string to display date
  64. timeformat => '%c',
  65. # UTF-8 locale to use
  66. <<<<<<< HEAD:ikiwiki_nb.setup
  67. locale => 'no_NB.UTF-8',
  68. =======
  69. locale => 'nb_NO.UTF-8',
  70. >>>>>>> _nb:ikiwiki_nb.setup
  71. # put user pages below specified page
  72. userdir => '',
  73. # how many backlinks to show before hiding excess (0 to show all)
  74. numbacklinks => 10,
  75. # attempt to hardlink source files? (optimisation for large files)
  76. hardlink => 0,
  77. # force ikiwiki to use a particular umask
  78. #umask => 022,
  79. # extra library and plugin directory
  80. libdir => 'perl',
  81. # environment variables
  82. ENV => {},
  83. # regexp of source files to ignore
  84. #exclude => '\\.wav$',
  85. # specifies the characters that are allowed in source filenames
  86. wiki_file_chars => '-[:alnum:]+/.:_',
  87. # allow symlinks in the path leading to the srcdir (potentially insecure)
  88. allow_symlinks_before_srcdir => 0,
  89. # aggregate plugin
  90. # enable aggregation to internal pages?
  91. #aggregateinternal => 0,
  92. # allow aggregation to be triggered via the web?
  93. #aggregate_webtrigger => 0,
  94. # amazon_s3 plugin
  95. # public access key id
  96. #amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX',
  97. # file holding secret key (must not be readable by others!)
  98. #amazon_s3_key_id => $ENV{'HOME'} . '/secret_webdata/s3_key',
  99. # globally unique name of bucket to store wiki in
  100. #amazon_s3_bucket => 'mywiki',
  101. # a prefix to prepend to each page name
  102. #amazon_s3_prefix => 'wiki/',
  103. # which S3 datacenter to use (leave blank for default)
  104. #amazon_s3_location => 'EU',
  105. # store each index file twice? (allows urls ending in "/index.html" and "/")
  106. #amazon_s3_dupindex => 0,
  107. # anonok plugin
  108. # PageSpec to limit which pages anonymous users can edit
  109. #anonok_pagespec => '*/discussion',
  110. # attachment plugin
  111. # enhanced PageSpec specifying what attachments are allowed
  112. #allowed_attachments => 'virusfree() and mimetype(image/*) and maxsize(50kb)',
  113. # virus checker program (reads STDIN, returns nonzero if virus found)
  114. #virus_checker => 'clamdscan -',
  115. # bzr plugin
  116. # bzr post-commit hook to generate
  117. #bzr_wrapper => '',
  118. # mode for bzr_wrapper (can safely be made suid)
  119. #bzr_wrappermode => '06755',
  120. # url to show file history, using loggerhead ([[file]] substituted)
  121. #historyurl => '',
  122. # url to view a diff, using loggerhead ([[file]] and [[r2]] substituted)
  123. #diffurl => 'http://example.org/revision?start_revid=[[r2]]#[[file]]-s',
  124. # calendar plugin
  125. # base of the archives hierarchy
  126. #archivebase => 'archives',
  127. # git plugin
  128. # git hook to generate
  129. #git_wrapper => $ENV{'HOME'} . '/public_websites/git.example.org/samplewiki_content.git/hooks/post-update-ikiwiki-nb',
  130. # mode for git_wrapper (can safely be made suid)
  131. #git_wrappermode => '06755',
  132. # gitweb url to show file history ([[file]] substituted)
  133. #historyurl => 'http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]', # ;hb=master
  134. # gitweb url to show a diff ([[sha1_to]], [[sha1_from]], [[sha1_parent]], and [[file]] substituted)
  135. #diffurl => 'http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]',
  136. # where to pull and push changes (set to empty string to disable)
  137. #gitorigin_branch => 'samplewiki',
  138. # branch that the wiki is stored in
  139. #gitmaster_branch => 'master',
  140. # htmlscrubber plugin
  141. # PageSpec specifying pages not to scrub
  142. #htmlscrubber_skip => '!*/Discussion',
  143. # inline plugin
  144. # enable rss feeds by default?
  145. #rss => 0,
  146. # enable atom feeds by default?
  147. #atom => 0,
  148. # allow rss feeds to be used?
  149. #allowrss => 0,
  150. # allow atom feeds to be used?
  151. #allowatom => 0,
  152. # urls to ping (using XML-RPC) on feed update
  153. #pingurl => 'http://rpc.technorati.com/rpc/ping',
  154. # listdirectives plugin
  155. # directory in srcdir that contains directive descriptions
  156. #directive_description_dir => 'ikiwiki/directive',
  157. # lockedit plugin
  158. # PageSpec controlling which pages are locked
  159. #locked_pages => '!*/Discussion',
  160. # mdwn plugin
  161. # enable multimarkdown features?
  162. #multimarkdown => 0,
  163. # mercurial plugin
  164. # mercurial post-commit hook to generate
  165. #mercurial_wrapper => '',
  166. # mode for mercurial_wrapper (can safely be made suid)
  167. #mercurial_wrappermode => '06755',
  168. # url to hg serve'd repository, to show file history ([[file]] substituted)
  169. #historyurl => 'http://example.org:8000/log/tip/[[file]]',
  170. # url to hg serve'd repository, to show diff ([[file]] and [[r2]] substituted)
  171. #diffurl => 'http://localhost:8000/?fd=[[r2]];file=[[file]]',
  172. # mirrorlist plugin
  173. # list of mirrors
  174. #mirrorlist => {},
  175. # openid plugin
  176. # an url where users can signup for an OpenID
  177. #openidsignup => 'http://myopenid.com/',
  178. # passwordauth plugin
  179. # a password that must be entered when signing up for an account
  180. #account_creation_password => 's3cr1t',
  181. # cost of generating a password using Authen::Passphrase::BlowfishCrypt
  182. #password_cost => 8,
  183. # pinger plugin
  184. # how many seconds to try pinging before timing out
  185. #pinger_timeout => 15,
  186. # prettydate plugin
  187. # format to use to display date
  188. #prettydateformat => '%X, %B %o, %Y',
  189. # recentchanges plugin
  190. # name of the recentchanges page
  191. #recentchangespage => 'recentchanges',
  192. # number of changes to track
  193. #recentchangesnum => 100,
  194. # search plugin
  195. # path to the omega cgi program
  196. #omega_cgi => '/usr/lib/cgi-bin/omega/omega',
  197. # svn plugin
  198. # subversion repository location
  199. #svnrepo => '/svn/wiki',
  200. # path inside repository where the wiki is located
  201. #svnpath => 'trunk',
  202. # svn post-commit hook to generate
  203. #svn_wrapper => '/svn/wikirepo/hooks/post-commit',
  204. # mode for svn_wrapper (can safely be made suid)
  205. #svn_wrappermode => '04755',
  206. # viewvc url to show file history ([[file]] substituted)
  207. #historyurl => 'http://svn.example.org/trunk/[[file]]',
  208. # viewvc url to show a diff ([[file]], [[r1]], and [[r2]] substituted)
  209. #diffurl => 'http://svn.example.org/trunk/[[file]]?root=wiki&amp;r1=[[r1]]&amp;r2=[[r2]]',
  210. # tag plugin
  211. # parent page tags are located under
  212. #tagbase => 'tag',
  213. # teximg plugin
  214. # Should teximg use dvipng to render, or dvips and convert?
  215. #teximg_dvipng => '',
  216. # LaTeX prefix for teximg plugin
  217. #teximg_prefix => '\\documentclass{article}
  218. #\\usepackage{amsmath}
  219. #\\usepackage{amsfonts}
  220. #\\usepackage{amssymb}
  221. #\\pagestyle{empty}
  222. #\\begin{document}
  223. #',
  224. # LaTeX postfix for teximg plugin
  225. #teximg_postfix => '\\end{document}',
  226. # tla plugin
  227. # tla post-commit hook to generate
  228. #tla_wrapper => '',
  229. # mode for tla_wrapper (can safely be made suid)
  230. #tla_wrappermode => '06755',
  231. # url to show file history ([[file]] substituted)
  232. #historyurl => '',
  233. # url to show a diff ([[file]] and [[rev]] substituted)
  234. #diffurl => '',
  235. # typography plugin
  236. # Text::Typography attributes value
  237. #typographyattributes => '3',
  238. # websetup plugin
  239. # list of plugins that cannot be enabled/disabled via the web interface
  240. #websetup_force_plugins => [],
  241. # show unsafe settings, read-only, in web interface?
  242. #websetup_show_unsafe => 1,
  243. }