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