2 # IkiWiki::Setup::Yaml - YAML formatted setup file
4 # Setup file for ikiwiki.
6 # Passing this to ikiwiki --setup will make ikiwiki generate
7 # wrappers and build the wiki.
9 # Remember to re-run ikiwiki --setup any time you edit this file.
12 wikiname: The Amnesic Incognito Live System
13 # contact email for wiki
14 adminemail: tails@boum.org
15 # users who are wiki admins
17 # users who are banned from the wiki
19 # where the source of the wiki is located
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
29 # mode for cgi_wrapper (can safely be made suid)
30 cgi_wrappermode: 06755
33 # plugins to add to the default configuration
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?
71 # create output files named page/index.html?
73 # use '!'-prefixed preprocessor directives?
75 # use page/index.mdwn source files
77 # enable Discussion pages?
79 # name of Discussion pages
80 discussionpage: Discussion
81 # generate HTML5? (experimental)
83 # only send cookies over SSL connections?
85 # extension to use for new pages
87 # extension to use for html files
89 # strftime format string to display date
93 # put user pages below specified page
95 # how many backlinks to show before hiding excess (0 to show all)
97 # attempt to hardlink source files? (optimisation for large files)
99 # force ikiwiki to use a particular umask
101 # group for wrappers to run in
102 #wrappergroup: ikiwiki
103 # extra library and plugin directory
105 # environment variables
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 ######################################################################
118 # (editpage, git, htmlscrubber, inline, link, meta, parentlinks)
119 ######################################################################
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)
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'
146 # enable rss feeds by default?
148 # enable atom feeds by default?
150 # allow rss feeds to be used?
152 # allow atom feeds to be used?
154 # urls to ping (using XML-RPC) on feed update
157 ######################################################################
159 # (anonok, blogspam, httpauth, lockedit, moderatedcomments,
160 # opendiscussion, openid, passwordauth, signinedit)
161 ######################################################################
164 # PageSpec to limit which pages anonymous users can edit
165 #anonok_pagespec: '*/discussion'
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
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'
182 # PageSpec controlling which pages are locked
183 locked_pages: '! (bugs/* or todo/* or forum/*)'
185 # moderatedcomments plugin
186 # PageSpec matching users or comment locations to moderate
187 #moderate_pagespec: '*'
190 # url pattern of openid realm (default is cgiurl)
192 # url to ikiwiki cgi to use for openid authentication (default is 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
201 ######################################################################
203 # (creole, highlight, hnb, html, mdwn, otl, po, rawhtml, textile, txt)
204 ######################################################################
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
215 # enable multimarkdown features?
219 # master language (non-PO files)
220 po_master_language: en|English
221 # slave languages (translated via PO files) format: ll|Langname
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)
232 ######################################################################
235 ######################################################################
237 ######################################################################
239 # (404, attachment, comments, editdiff, edittemplate, getsource, google,
240 # goto, mirrorlist, remove, rename, repolist, search, theme, websetup,
242 ######################################################################
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 -
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
265 # Mime type for returned source.
266 #getsource_mimetype: text/plain; charset=utf-8
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
276 # URIs of repositories containing the wiki's source
278 # - svn://svn.example.org/wiki/trunk
281 # path to the omega cgi program
282 omega_cgi: /usr/lib/cgi-bin/omega/omega
285 # name of theme to enable
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
293 # show unsafe settings, read-only, in web interface?
294 #websetup_show_unsafe: 1
296 ######################################################################
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 ######################################################################
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
315 # Should teximg use dvipng to render, or dvips and convert?
317 # LaTeX prefix for teximg plugin
319 # \documentclass{article}
320 # \usepackage[utf8]{inputenc}
321 # \usepackage{amsmath}
322 # \usepackage{amsfonts}
323 # \usepackage{amssymb}
326 # LaTeX postfix for teximg plugin
327 #teximg_postfix: '\end{document}'
329 ######################################################################
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 ######################################################################
339 # enable aggregation to internal pages?
340 #aggregateinternal: 1
341 # allow aggregation to be triggered via the web?
342 #aggregate_webtrigger: 0
345 # file: /home/user/.ikiwiki/cookies
348 # commit autocreated index pages
352 # list of words to not turn into links
353 #camelcase_ignore: []
356 # userid or user name to use by default for Flattr buttons
357 #flattr_userid: joeyh
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
366 # Enable Pandoc processing of reStructuredText documents
368 # Use smart quotes, dashes, and ellipses
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
378 # how many seconds to try pinging before timing out
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
392 # command to run to sync updated pages
393 #rsync_command: rsync -qa --delete . user@host:/path/to/docroot/
396 # show sidebar page on all pages?
400 # parent page tags are located under
402 # autocreate new tag pages?
404 # commit autocreated tag pages
405 tag_autocreate_commit: 1
408 # extra underlay directories to add
410 # - /home/user/wiki.underlay