X-Git-Url: https://nos-oignons.net/gitweb/website.git/blobdiff_plain/1762a2ce319604c3880fea54dcf835203128dd9a..84c9c1134333e39aa2f3755623fd47469eb3f4e7:/ikiwiki.setup?ds=sidebyside diff --git a/ikiwiki.setup b/ikiwiki.setup index a70b0f6..ad61bef 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -1,10 +1,10 @@ # IkiWiki::Setup::Yaml - YAML formatted setup file # # Setup file for ikiwiki. -# +# # Passing this to ikiwiki --setup will make ikiwiki generate # wrappers and build the wiki. -# +# # Remember to re-run ikiwiki --setup any time you edit this file. # # name of the wiki @@ -28,15 +28,20 @@ cgi_wrapper: '' # mode for cgi_wrapper (can safely be made suid) cgi_wrappermode: '06755' # rcs backend to use -rcs: '' +rcs: git # plugins to add to the default configuration add_plugins: +- favicon - html - img +- map +- pagetemplate - po +- recentchanges - sidebar # plugins to disable -disable_plugins: [] +disable_plugins: +- htmlscrubber # additional directory to search for template files templatedir: /usr/share/ikiwiki/templates # base wiki source location @@ -46,19 +51,19 @@ underlaydir: /usr/share/ikiwiki/basewiki # log to syslog? #syslog: 1 # create output files named page/index.html? -usedirs: 1 +usedirs: '0' # use '!'-prefixed preprocessor directives? -prefix_directives: 1 +prefix_directives: '1' # use page/index.mdwn source files -indexpages: 0 +indexpages: '0' # enable Discussion pages? -discussion: 1 +discussion: '0' # name of Discussion pages discussionpage: Discussion # generate HTML5? -html5: 0 +html5: '1' # only send cookies over SSL connections? -sslcookie: 0 +sslcookie: '0' # extension to use for new pages default_pageext: mdwn # extension to use for html files @@ -66,13 +71,13 @@ htmlext: html # strftime format string to display date timeformat: '%c' # UTF-8 locale to use -locale: fr-FR.UTF-8 +locale: fr_FR.UTF-8 # put user pages below specified page userdir: '' # how many backlinks to show before hiding excess (0 to show all) -numbacklinks: 10 +numbacklinks: '10' # attempt to hardlink source files? (optimisation for large files) -hardlink: 0 +hardlink: '0' # force ikiwiki to use a particular umask (keywords public, group or private, or a number) #umask: public # group for wrappers to run in @@ -90,13 +95,33 @@ ENV: {} # specifies the characters that are allowed in source filenames wiki_file_chars: -[:alnum:]+/.:_ # allow symlinks in the path leading to the srcdir (potentially insecure) -allow_symlinks_before_srcdir: 0 +allow_symlinks_before_srcdir: '0' ###################################################################### # core plugins -# (editpage, htmlscrubber, inline, link, meta, parentlinks) +# (editpage, git, htmlscrubber, inline, link, meta, parentlinks) ###################################################################### +# git plugin +# git hook to generate +#git_wrapper: /git/wiki.git/hooks/post-update +# shell command for git_wrapper to run, in the background +#git_wrapper_background_command: git push github +# mode for git_wrapper (can safely be made suid) +#git_wrappermode: '06755' +# git pre-receive hook to generate +#git_test_receive_wrapper: /git/wiki.git/hooks/pre-receive +# unix users whose commits should be checked by the pre-receive hook +#untrusted_committers: [] +# gitweb url to show file history ([[file]] substituted) +#historyurl: http://git.example.com/gitweb.cgi?p=wiki.git;a=history;f=[[file]];hb=HEAD +# gitweb url to show a diff ([[file]], [[sha1_to]], [[sha1_from]], [[sha1_commit]], and [[sha1_parent]] substituted) +#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]] +# where to pull and push changes (set to empty string to disable) +gitorigin_branch: '' +# branch that the wiki is stored in +gitmaster_branch: master + # htmlscrubber plugin # PageSpec specifying pages not to scrub #htmlscrubber_skip: '!*/Discussion' @@ -107,9 +132,9 @@ allow_symlinks_before_srcdir: 0 # enable atom feeds by default? #atom: 0 # allow rss feeds to be used? -#allowrss: 0 +allowrss: '1' # allow atom feeds to be used? -#allowatom: 0 +allowatom: '1' # urls to ping (using XML-RPC) on feed update pingurl: [] @@ -183,13 +208,10 @@ po_master_language: fr|French # slave languages (translated via PO files) format: ll|Langname po_slave_languages: - en|English -#- fr|Français -#- es|Español -#- de|Deutsch # PageSpec controlling which pages are translatable -po_translatable_pages: 'À_propos or Donnez or Contact' +po_translatable_pages: 404 or À_propos or Donnez or Services or Contact or Actualités or Actualités/* and !Actualités/20150615_france_inter_secret_d_infos or Diffusez or sidebar # internal linking behavior (default/current/negotiated) -#po_link_to: current +po_link_to: current ###################################################################### # special-purpose plugins @@ -349,7 +371,7 @@ po_translatable_pages: 'À_propos or Donnez or Contact' # name of the recentchanges page recentchangespage: recentchanges # number of changes to track -recentchangesnum: 100 +recentchangesnum: '100' # rsync plugin # command to run to sync updated pages