ikiwiki-cgi.setup 13 KB

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