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