1 # IkiWiki::Setup::Yaml - YAML formatted setup file
3 # Setup file for ikiwiki.
5 # Passing this to ikiwiki --setup will make ikiwiki generate
6 # wrappers and build the wiki.
8 # Remember to re-run ikiwiki --setup any time you edit this file.
12 # contact email for wiki
13 adminemail: contact@nos-oignons.net
14 # users who are wiki admins
16 # users who are banned from the wiki
18 # where the source of the wiki is located
20 # where to build the wiki
22 # base url to the wiki
24 # url to the ikiwiki.cgi
26 # filename of cgi wrapper to generate
28 # mode for cgi_wrapper (can safely be made suid)
29 cgi_wrappermode: '06755'
32 # plugins to add to the default configuration
41 # additional directory to search for template files
42 templatedir: /usr/share/ikiwiki/templates
43 # base wiki source location
44 underlaydir: /usr/share/ikiwiki/basewiki
45 # display verbose messages?
49 # create output files named page/index.html?
51 # use '!'-prefixed preprocessor directives?
52 prefix_directives: '1'
53 # use page/index.mdwn source files
55 # enable Discussion pages?
57 # name of Discussion pages
58 discussionpage: Discussion
61 # only send cookies over SSL connections?
63 # extension to use for new pages
65 # extension to use for html files
67 # strftime format string to display date
71 # put user pages below specified page
73 # how many backlinks to show before hiding excess (0 to show all)
75 # attempt to hardlink source files? (optimisation for large files)
77 # force ikiwiki to use a particular umask (keywords public, group or private, or a number)
79 # group for wrappers to run in
80 #wrappergroup: ikiwiki
81 # extra library and plugin directory
83 # environment variables
87 # regexp of normally excluded files to include
88 #include: ^\.htaccess$
89 # regexp of files that should be skipped
90 #exclude: ^(*\.private|Makefile)$
91 # specifies the characters that are allowed in source filenames
92 wiki_file_chars: -[:alnum:]+/.:_
93 # allow symlinks in the path leading to the srcdir (potentially insecure)
94 allow_symlinks_before_srcdir: '0'
96 ######################################################################
98 # (editpage, git, htmlscrubber, inline, link, meta, parentlinks)
99 ######################################################################
102 # git hook to generate
103 #git_wrapper: /git/wiki.git/hooks/post-update
104 # shell command for git_wrapper to run, in the background
105 #git_wrapper_background_command: git push github
106 # mode for git_wrapper (can safely be made suid)
107 #git_wrappermode: '06755'
108 # git pre-receive hook to generate
109 #git_test_receive_wrapper: /git/wiki.git/hooks/pre-receive
110 # unix users whose commits should be checked by the pre-receive hook
111 #untrusted_committers: []
112 # gitweb url to show file history ([[file]] substituted)
113 #historyurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=history;f=[[file]];hb=HEAD
114 # gitweb url to show a diff ([[file]], [[sha1_to]], [[sha1_from]], [[sha1_commit]], and [[sha1_parent]] substituted)
115 #diffurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=blobdiff;f=[[file]];h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_commit]];hpb=[[sha1_parent]]
116 # where to pull and push changes (set to empty string to disable)
118 # branch that the wiki is stored in
119 gitmaster_branch: master
121 # htmlscrubber plugin
122 # PageSpec specifying pages not to scrub
123 #htmlscrubber_skip: '!*/Discussion'
126 # enable rss feeds by default?
128 # enable atom feeds by default?
130 # allow rss feeds to be used?
132 # allow atom feeds to be used?
134 # urls to ping (using XML-RPC) on feed update
137 ######################################################################
139 # (anonok, blogspam, httpauth, lockedit, moderatedcomments,
140 # opendiscussion, openid, passwordauth, signinedit)
141 ######################################################################
144 # PageSpec to limit which pages anonymous users can edit
145 #anonok_pagespec: '*/discussion'
148 # PageSpec of pages to check for spam
149 #blogspam_pagespec: postcomment(*)
150 # options to send to blogspam server
151 #blogspam_options: blacklist=1.2.3.4,blacklist=8.7.6.5,max-links=10
152 # blogspam server XML-RPC url
156 # url to redirect to when authentication is needed
157 #cgiauthurl: http://example.com/wiki/auth/ikiwiki.cgi
158 # PageSpec of pages where only httpauth will be used for authentication
159 #httpauth_pagespec: '!*/Discussion'
162 # PageSpec controlling which pages are locked
163 #locked_pages: '!*/Discussion'
165 # moderatedcomments plugin
166 # PageSpec matching users or comment locations to moderate
167 #moderate_pagespec: '*'
170 # url pattern of openid realm (default is cgiurl)
172 # url to ikiwiki cgi to use for openid authentication (default is cgiurl)
175 # passwordauth plugin
176 # a password that must be entered when signing up for an account
177 #account_creation_password: s3cr1t
178 # cost of generating a password using Authen::Passphrase::BlowfishCrypt
181 ######################################################################
183 # (creole, highlight, hnb, html, mdwn, otl, po, rawhtml, rst, textile,
185 ######################################################################
188 # types of source files to syntax highlight
189 #tohighlight: .c .h .cpp .pl .py Makefile:make
190 # location of highlight's filetypes.conf
191 #filetypes_conf: /etc/highlight/filetypes.conf
192 # location of highlight's langDefs directory
193 #langdefdir: /usr/share/highlight/langDefs
196 # enable multimarkdown features?
198 # disable use of markdown discount?
202 # master language (non-PO files)
203 po_master_language: fr|French
204 # slave languages (translated via PO files) format: ll|Langname
207 # PageSpec controlling which pages are translatable
208 po_translatable_pages: À_propos or Donnez or Contact
209 # internal linking behavior (default/current/negotiated)
212 ######################################################################
213 # special-purpose plugins
215 ######################################################################
218 # the default zoom when you click on the map link
219 #osm_default_zoom: '15'
220 # the icon shown on links and on the main map
221 #osm_default_icon: ikiwiki/images/osm.png
222 # the alt tag of links, defaults to empty
224 # the output format for waypoints, can be KML, GeoJSON or CSV (one or many, comma-separated)
226 # the icon attached to a tag, displayed on the map for tagged pages
227 #osm_tag_default_icon: icon.png
229 ######################################################################
231 # (404, attachment, comments, editdiff, edittemplate, getsource, google,
232 # goto, mirrorlist, remove, rename, repolist, search, theme, userlist,
234 ######################################################################
237 # enhanced PageSpec specifying what attachments are allowed
238 #allowed_attachments: virusfree() and mimetype(image/*) and maxsize(50kb)
239 # virus checker program (reads STDIN, returns nonzero if virus found)
240 #virus_checker: clamdscan -
243 # PageSpec of pages where comments are allowed
244 #comments_pagespec: blog/* and !*/Discussion
245 # PageSpec of pages where posting new comments is not allowed
246 #comments_closed_pagespec: blog/controversial or blog/flamewar
247 # Base name for comments, e.g. "comment_" for pages like "sandbox/comment_12"
248 #comments_pagename: ''
249 # Interpret directives in comments?
250 #comments_allowdirectives: 0
251 # Allow anonymous commenters to set an author name?
252 #comments_allowauthor: 0
253 # commit comments to the VCS
257 # Mime type for returned source.
258 #getsource_mimetype: text/plain; charset=utf-8
263 # generate links that point to the mirrors' ikiwiki CGI
264 #mirrorlist_use_cgi: 1
267 # URIs of repositories containing the wiki's source
269 #- svn://svn.example.org/wiki/trunk
272 # path to the omega cgi program
273 #omega_cgi: /usr/lib/cgi-bin/omega/omega
276 # name of theme to enable
280 # list of plugins that cannot be enabled/disabled via the web interface
281 #websetup_force_plugins: []
282 # list of additional setup field keys to treat as unsafe
284 # show unsafe settings, read-only, in web interface?
285 #websetup_show_unsafe: 1
287 ######################################################################
289 # (calendar, color, conditional, cutpaste, date, format, fortune,
290 # graphviz, haiku, headinganchors, img, linkmap, listdirectives, map,
291 # more, orphans, pagecount, pagestats, poll, polygen, postsparkline,
292 # progress, shortcut, sparkline, table, template, teximg, toc, toggle,
294 ######################################################################
297 # base of the archives hierarchy
298 #archivebase: archives
299 # PageSpec of pages to include in the archives; used by ikiwiki-calendar command
300 #archive_pagespec: page(posts/*) and !*/Discussion
302 # listdirectives plugin
303 # directory in srcdir that contains directive descriptions
304 #directive_description_dir: ikiwiki/directive
307 # Should teximg use dvipng to render, or dvips and convert?
309 # LaTeX prefix for teximg plugin
310 #teximg_prefix: '\documentclass{article}
312 # \usepackage[utf8]{inputenc}
314 # \usepackage{amsmath}
316 # \usepackage{amsfonts}
318 # \usepackage{amssymb}
325 # LaTeX postfix for teximg plugin
326 #teximg_postfix: \end{document}
328 ######################################################################
330 # (aggregate, autoindex, brokenlinks, camelcase, ddate, embed, favicon,
331 # filecheck, flattr, goodstuff, htmlbalance, localstyle, notifyemail,
332 # pagetemplate, pingee, pinger, prettydate, recentchanges,
333 # recentchangesdiff, relativedate, rsync, sidebar, smiley,
334 # sortnaturally, tag, testpagespec, trail, 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/lunar/.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 # how many seconds to try pinging before timing out
363 # format to use to display date
364 #prettydateformat: '%X, %B %o, %Y'
366 # recentchanges plugin
367 # name of the recentchanges page
368 recentchangespage: recentchanges
369 # number of changes to track
370 recentchangesnum: '100'
373 # command to run to sync updated pages
374 #rsync_command: rsync -qa --delete . user@host:/path/to/docroot/
377 # show sidebar page on all pages?
381 # parent page tags are located under
383 # autocreate new tag pages?
385 # commit autocreated tag pages
386 #tag_autocreate_commit: 1
389 # extra underlay directories to add
391 #- /home/lunar/wiki.underlay