Merge branch 'master' of git://git.tails.boum.org/tails
[besstails.git] / ikiwiki-cgi.setup
blobf2c4419ce52a6c9b07c88465d4ed1b407b319ed0
1 # -*- mode: yaml; -*-
2 # IkiWiki::Setup::Yaml - YAML formatted setup file
4 # Setup file for ikiwiki.
5
6 # Passing this to ikiwiki --setup will make ikiwiki generate
7 # wrappers and build the wiki.
8
9 # Remember to re-run ikiwiki --setup any time you edit this file.
11 # name of the wiki
12 wikiname: The Amnesic Incognito Live System
13 # contact email for wiki
14 adminemail: tails@boum.org
15 # users who are wiki admins
16 adminuser: []
17 # users who are banned from the wiki
18 banned_users: []
19 # where the source of the wiki is located
20 srcdir: wiki/src
21 # where to build the wiki
22 destdir: /var/www/wiki/tails
23 # base url to the wiki
24 url: http://localhost/wiki/tails
25 # url to the ikiwiki.cgi
26 cgiurl: http://localhost/wiki/tails/ikiwiki.cgi
27 # filename of cgi wrapper to generate
28 cgi_wrapper: ''
29 # mode for cgi_wrapper (can safely be made suid)
30 cgi_wrappermode: 06755
31 # rcs backend to use
32 rcs: git
33 # plugins to add to the default configuration
34 add_plugins:
35   - favicon
36   - html
37   - map
38   - remove
39   - rename
40   - passwordauth
41   - mirrorlist
42   - po
43   - shortcut
44   - sidebar
45   - tag
46   - toc
47   - trail
48   - typography
49   - comments
50   - meta
51   - img
52   - editpage
53   - recentchanges
54   - anonok
55   - search
56   - lockedit
57   - toggle
58 # plugins to disable
59 disable_plugins:
60   - openid
61   - httpauth
62   - signinedit
63 # additional directory to search for template files
64 # templatedir: /usr/share/ikiwiki/templates
65 # base wiki source location
66 # underlaydir: /usr/share/ikiwiki/basewiki
67 # display verbose messages?
68 verbose: 1
69 # log to syslog?
70 #syslog: 1
71 # create output files named page/index.html?
72 usedirs: 0
73 # use '!'-prefixed preprocessor directives?
74 prefix_directives: 1
75 # use page/index.mdwn source files
76 indexpages: 0
77 # enable Discussion pages?
78 discussion: 0
79 # name of Discussion pages
80 discussionpage: Discussion
81 # generate HTML5? (experimental)
82 html5: 0
83 # only send cookies over SSL connections?
84 sslcookie: 0
85 # extension to use for new pages
86 default_pageext: mdwn
87 # extension to use for html files
88 htmlext: html
89 # strftime format string to display date
90 timeformat: '%c'
91 # UTF-8 locale to use
92 locale: en_US.UTF-8
93 # put user pages below specified page
94 userdir: ''
95 # how many backlinks to show before hiding excess (0 to show all)
96 numbacklinks: 10
97 # attempt to hardlink source files? (optimisation for large files)
98 hardlink: 0
99 # force ikiwiki to use a particular umask
100 umask: 18
101 # group for wrappers to run in
102 #wrappergroup: ikiwiki
103 # extra library and plugin directory
104 libdir: ''
105 # environment variables
106 ENV: {}
107 # regexp of normally excluded files to include
108 include: '^\.htaccess$'
109 # regexp of files that should be skipped
110 exclude: (?-xism:/discussion)
111 # specifies the characters that are allowed in source filenames
112 wiki_file_chars: '-[:alnum:]+/.:_~'
113 # allow symlinks in the path leading to the srcdir (potentially insecure)
114 allow_symlinks_before_srcdir: 1
116 ######################################################################
117 # core plugins
118 #   (editpage, git, htmlscrubber, inline, link, meta, parentlinks)
119 ######################################################################
121 # git plugin
122 # git hook to generate
123 #git_wrapper: /git/wiki.git/hooks/post-update
124 # shell command for git_wrapper to run, in the background
125 #git_wrapper_background_command: git push github
126 # mode for git_wrapper (can safely be made suid)
127 #git_wrappermode: 06755
128 # git pre-receive hook to generate
129 #git_test_receive_wrapper: /git/wiki.git/hooks/pre-receive
130 # unix users whose commits should be checked by the pre-receive hook
131 #untrusted_committers: []
132 # gitweb url to show file history ([[file]] substituted)
133 historyurl: 'https://git-tails.immerda.ch/tails/log/wiki/src/[[file]]'
134 # gitweb url to show a diff ([[file]], [[sha1_to]], [[sha1_from]], [[sha1_commit]], and [[sha1_parent]] substituted)
135 diffurl: 'https://git-tails.immerda.ch/tails/commit/wiki/src/[[file]]?id=[[sha1_commit]]'
136 # where to pull and push changes (set to empty string to disable)
137 gitorigin_branch: ''
138 # branch that the wiki is stored in
139 gitmaster_branch: master
141 # htmlscrubber plugin
142 # PageSpec specifying pages not to scrub
143 #htmlscrubber_skip: '!*/Discussion'
145 # inline plugin
146 # enable rss feeds by default?
147 rss: 1
148 # enable atom feeds by default?
149 atom: 1
150 # allow rss feeds to be used?
151 #allowrss: 0
152 # allow atom feeds to be used?
153 #allowatom: 0
154 # urls to ping (using XML-RPC) on feed update
155 pingurl: []
157 ######################################################################
158 # auth plugins
159 #   (anonok, blogspam, httpauth, lockedit, moderatedcomments,
160 #    opendiscussion, openid, passwordauth, signinedit)
161 ######################################################################
163 # anonok plugin
164 # PageSpec to limit which pages anonymous users can edit
165 #anonok_pagespec: '*/discussion'
167 # blogspam plugin
168 # PageSpec of pages to check for spam
169 #blogspam_pagespec: postcomment(*)
170 # options to send to blogspam server
171 #blogspam_options: 'blacklist=1.2.3.4,blacklist=8.7.6.5,max-links=10'
172 # blogspam server XML-RPC url
173 #blogspam_server: ''
175 # httpauth plugin
176 # url to redirect to when authentication is needed
177 #cgiauthurl: http://example.com/wiki/auth/ikiwiki.cgi
178 # PageSpec of pages where only httpauth will be used for authentication
179 #httpauth_pagespec: '!*/Discussion'
181 # lockedit plugin
182 # PageSpec controlling which pages are locked
183 locked_pages: '! (bugs/* or forum/*)'
185 # moderatedcomments plugin
186 # PageSpec matching users or comment locations to moderate
187 #moderate_pagespec: '*'
189 # openid plugin
190 # url pattern of openid realm (default is cgiurl)
191 #openid_realm: ''
192 # url to ikiwiki cgi to use for openid authentication (default is cgiurl)
193 #openid_cgiurl: ''
195 # passwordauth plugin
196 # a password that must be entered when signing up for an account
197 #account_creation_password: s3cr1t
198 # cost of generating a password using Authen::Passphrase::BlowfishCrypt
199 #password_cost: 8
201 ######################################################################
202 # format plugins
203 #   (creole, highlight, hnb, html, mdwn, otl, po, rawhtml, textile, txt)
204 ######################################################################
206 # highlight plugin
207 # types of source files to syntax highlight
208 #tohighlight: .c .h .cpp .pl .py Makefile:make
209 # location of highlight's filetypes.conf
210 #filetypes_conf: /etc/highlight/filetypes.conf
211 # location of highlight's langDefs directory
212 #langdefdir: /usr/share/highlight/langDefs
214 # mdwn plugin
215 # enable multimarkdown features?
216 #multimarkdown: 0
218 # po plugin
219 # master language (non-PO files)
220 po_master_language: en|English
221 # slave languages (translated via PO files) format: ll|Langname
222 po_slave_languages:
223   - de|Deutsch
224   - es|Español
225   - fr|Français
226   - pt|Português
227 # PageSpec controlling which pages are translatable
228 po_translatable_pages: '!security/audits and !security/audits/* and (about or chat or contribute or doc or doc/* or download or getting_started or inc/stable_i386_date or index or news or news/* or press or press/* or security or security/* or sidebar or support or support/* or torrents or wishlist)'
229 # internal linking behavior (default/current/negotiated)
230 po_link_to: current
232 ######################################################################
233 # misc plugins
234 #   (filecheck)
235 ######################################################################
237 ######################################################################
238 # web plugins
239 #   (404, attachment, comments, editdiff, edittemplate, getsource, google,
240 #    goto, mirrorlist, remove, rename, repolist, search, theme, websetup,
241 #    wmd)
242 ######################################################################
244 # attachment plugin
245 # enhanced PageSpec specifying what attachments are allowed
246 #allowed_attachments: virusfree() and mimetype(image/*) and maxsize(50kb)
247 # virus checker program (reads STDIN, returns nonzero if virus found)
248 #virus_checker: clamdscan -
250 # comments plugin
251 # PageSpec of pages where comments are allowed
252 comments_pagespec: forum/*
253 # PageSpec of pages where posting new comments is not allowed
254 comments_closed_pagespec: ''
255 # Base name for comments, e.g. "comment_" for pages like "sandbox/comment_12"
256 comments_pagename: comment_
257 # Interpret directives in comments?
258 #comments_allowdirectives: 0
259 # Allow anonymous commenters to set an author name?
260 #comments_allowauthor: 0
261 # commit comments to the VCS
262 comments_commit: 1
264 # getsource plugin
265 # Mime type for returned source.
266 #getsource_mimetype: text/plain; charset=utf-8
268 # mirrorlist plugin
269 # list of mirrors
270 mirrorlist:
271   tails.boum.org: https://tails.boum.org/ikiwiki.cgi
272 # generate links that point to the mirrors' ikiwiki CGI
273 mirrorlist_use_cgi: 1
275 # repolist plugin
276 # URIs of repositories containing the wiki's source
277 #repositories:
278 #  - svn://svn.example.org/wiki/trunk
280 # search plugin
281 # path to the omega cgi program
282 omega_cgi: /usr/lib/cgi-bin/omega/omega
284 # theme plugin
285 # name of theme to enable
286 #theme: actiontabs
288 # websetup plugin
289 # list of plugins that cannot be enabled/disabled via the web interface
290 #websetup_force_plugins: []
291 # list of additional setup field keys to treat as unsafe
292 #websetup_unsafe: []
293 # show unsafe settings, read-only, in web interface?
294 #websetup_show_unsafe: 1
296 ######################################################################
297 # widget plugins
298 #   (calendar, color, conditional, cutpaste, date, format, fortune,
299 #    graphviz, haiku, img, linkmap, listdirectives, map, more, orphans,
300 #    pagecount, pagestats, poll, polygen, postsparkline, progress,
301 #    shortcut, sparkline, table, template, teximg, toc, toggle, version)
302 ######################################################################
304 # calendar plugin
305 # base of the archives hierarchy
306 #archivebase: archives
307 # PageSpec of pages to include in the archives; used by ikiwiki-calendar command
308 #archive_pagespec: page(posts/*) and !*/Discussion
310 # listdirectives plugin
311 # directory in srcdir that contains directive descriptions
312 #directive_description_dir: ikiwiki/directive
314 # teximg plugin
315 # Should teximg use dvipng to render, or dvips and convert?
316 #teximg_dvipng: ''
317 # LaTeX prefix for teximg plugin
318 #teximg_prefix: |
319 #  \documentclass{article}
320 #  \usepackage[utf8]{inputenc}
321 #  \usepackage{amsmath}
322 #  \usepackage{amsfonts}
323 #  \usepackage{amssymb}
324 #  \pagestyle{empty}
325 #  \begin{document}
326 # LaTeX postfix for teximg plugin
327 #teximg_postfix: '\end{document}'
329 ######################################################################
330 # other plugins
331 #   (aggregate, autoindex, brokenlinks, camelcase, ddate, embed, favicon,
332 #    flattr, goodstuff, htmlbalance, localstyle, pagetemplate, pandoc,
333 #    pingee, pinger, prettydate, recentchanges, recentchangesdiff,
334 #    relativedate, rsync, sidebar, smiley, sortnaturally, tag,
335 #    testpagespec, transient, underlay)
336 ######################################################################
338 # aggregate plugin
339 # enable aggregation to internal pages?
340 #aggregateinternal: 1
341 # allow aggregation to be triggered via the web?
342 #aggregate_webtrigger: 0
343 # cookie control
344 #cookiejar:
345 #  file: /home/user/.ikiwiki/cookies
347 # autoindex plugin
348 # commit autocreated index pages
349 #autoindex_commit: 1
351 # camelcase plugin
352 # list of words to not turn into links
353 #camelcase_ignore: []
355 # flattr plugin
356 # userid or user name to use by default for Flattr buttons
357 #flattr_userid: joeyh
359 # pandoc plugin
360 # Path to pandoc executable
361 #pandoc_command: /usr/bin/pandoc
362 # File extension for Markdown files
363 #pandoc_markdown_ext: mdwn
364 # Enable Pandoc processing of LaTeX documents
365 #pandoc_latex: 0
366 # Enable Pandoc processing of reStructuredText documents
367 #pandoc_rst: 0
368 # Use smart quotes, dashes, and ellipses
369 #pandoc_smart: 1
370 # Output format (html, markdown or latex)
371 #pandoc_output_format: html
372 # Path depth of which LaTeX parts roots (e.g.: bla/part1 = depth 2)
373 #pandoc_parts_at_depth: 1
374 # Shift headers level depending on page depth (default: enabled for LaTeX output, disabled else)
375 #pandoc_shift_headers: 1
377 # pinger plugin
378 # how many seconds to try pinging before timing out
379 #pinger_timeout: 15
381 # prettydate plugin
382 # format to use to display date
383 #prettydateformat: '%X, %B %o, %Y'
385 # recentchanges plugin
386 # name of the recentchanges page
387 recentchangespage: recentchanges
388 # number of changes to track
389 recentchangesnum: 100
391 # rsync plugin
392 # command to run to sync updated pages
393 #rsync_command: rsync -qa --delete . user@host:/path/to/docroot/
395 # sidebar plugin
396 # show sidebar page on all pages?
397 #global_sidebars: 1
399 # tag plugin
400 # parent page tags are located under
401 tagbase: tags
402 # autocreate new tag pages?
403 #tag_autocreate: 1
404 # commit autocreated tag pages
405 tag_autocreate_commit: 1
407 # underlay plugin
408 # extra underlay directories to add
409 #add_underlays:
410 #  - /home/user/wiki.underlay