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: '! blueprint/*'
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
226 # PageSpec controlling which pages are translatable
227 po_translatable_pages: '!security/audits and !security/audits/* and (about or bugs or chat or contribute or contribute/how/donate 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 todo or torrents or wishlist or misc or misc/*)'
228 # internal linking behavior (default/current/negotiated)
231 ######################################################################
234 ######################################################################
236 ######################################################################
238 # (404, attachment, comments, editdiff, edittemplate, getsource, google,
239 # goto, mirrorlist, remove, rename, repolist, search, theme, websetup,
241 ######################################################################
244 # enhanced PageSpec specifying what attachments are allowed
245 #allowed_attachments: virusfree() and mimetype(image/*) and maxsize(50kb)
246 # virus checker program (reads STDIN, returns nonzero if virus found)
247 #virus_checker: clamdscan -
250 # PageSpec of pages where comments are allowed
251 comments_pagespec: forum/*
252 # PageSpec of pages where posting new comments is not allowed
253 #comments_closed_pagespec: ''
254 # Base name for comments, e.g. "comment_" for pages like "sandbox/comment_12"
255 comments_pagename: comment_
256 # Interpret directives in comments?
257 #comments_allowdirectives: 0
258 # Allow anonymous commenters to set an author name?
259 #comments_allowauthor: 0
260 # commit comments to the VCS
264 # Mime type for returned source.
265 #getsource_mimetype: text/plain; charset=utf-8
270 tails.boum.org: https://tails.boum.org/ikiwiki.cgi
271 # generate links that point to the mirrors' ikiwiki CGI
272 mirrorlist_use_cgi: 1
275 # URIs of repositories containing the wiki's source
277 # - svn://svn.example.org/wiki/trunk
280 # path to the omega cgi program
281 omega_cgi: /usr/lib/cgi-bin/omega/omega
284 # name of theme to enable
288 # list of plugins that cannot be enabled/disabled via the web interface
289 #websetup_force_plugins: []
290 # list of additional setup field keys to treat as unsafe
292 # show unsafe settings, read-only, in web interface?
293 #websetup_show_unsafe: 1
295 ######################################################################
297 # (calendar, color, conditional, cutpaste, date, format, fortune,
298 # graphviz, haiku, img, linkmap, listdirectives, map, more, orphans,
299 # pagecount, pagestats, poll, polygen, postsparkline, progress,
300 # shortcut, sparkline, table, template, teximg, toc, toggle, version)
301 ######################################################################
304 # base of the archives hierarchy
305 #archivebase: archives
306 # PageSpec of pages to include in the archives; used by ikiwiki-calendar command
307 #archive_pagespec: page(posts/*) and !*/Discussion
309 # listdirectives plugin
310 # directory in srcdir that contains directive descriptions
311 #directive_description_dir: ikiwiki/directive
314 # Should teximg use dvipng to render, or dvips and convert?
316 # LaTeX prefix for teximg plugin
318 # \documentclass{article}
319 # \usepackage[utf8]{inputenc}
320 # \usepackage{amsmath}
321 # \usepackage{amsfonts}
322 # \usepackage{amssymb}
325 # LaTeX postfix for teximg plugin
326 #teximg_postfix: '\end{document}'
328 ######################################################################
330 # (aggregate, autoindex, brokenlinks, camelcase, ddate, embed, favicon,
331 # flattr, goodstuff, htmlbalance, localstyle, pagetemplate, pandoc,
332 # pingee, pinger, prettydate, recentchanges, recentchangesdiff,
333 # relativedate, rsync, sidebar, smiley, sortnaturally, tag,
334 # testpagespec, transient, underlay)
335 ######################################################################
338 # enable aggregation to internal pages?
339 #aggregateinternal: 1
340 # allow aggregation to be triggered via the web?
341 #aggregate_webtrigger: 0
344 # file: /home/user/.ikiwiki/cookies
347 # commit autocreated index pages
351 # list of words to not turn into links
352 #camelcase_ignore: []
355 # userid or user name to use by default for Flattr buttons
356 #flattr_userid: joeyh
359 # Path to pandoc executable
360 #pandoc_command: /usr/bin/pandoc
361 # File extension for Markdown files
362 #pandoc_markdown_ext: mdwn
363 # Enable Pandoc processing of LaTeX documents
365 # Enable Pandoc processing of reStructuredText documents
367 # Use smart quotes, dashes, and ellipses
369 # Output format (html, markdown or latex)
370 #pandoc_output_format: html
371 # Path depth of which LaTeX parts roots (e.g.: bla/part1 = depth 2)
372 #pandoc_parts_at_depth: 1
373 # Shift headers level depending on page depth (default: enabled for LaTeX output, disabled else)
374 #pandoc_shift_headers: 1
377 # how many seconds to try pinging before timing out
381 # format to use to display date
382 #prettydateformat: '%X, %B %o, %Y'
384 # recentchanges plugin
385 # name of the recentchanges page
386 recentchangespage: recentchanges
387 # number of changes to track
388 recentchangesnum: 100
391 # command to run to sync updated pages
392 #rsync_command: rsync -qa --delete . user@host:/path/to/docroot/
395 # show sidebar page on all pages?
399 # parent page tags are located under
401 # autocreate new tag pages?
403 # commit autocreated tag pages
404 tag_autocreate_commit: 1
407 # extra underlay directories to add
409 # - /home/user/wiki.underlay