X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=ikiwiki.setup;h=95d0734ee5600b65d59ce7f52b74886fef019405;hb=081345b6207d3b31abd39b41d10baaf7df366196;hp=1dc639913def327b4f2c6e6a564ce414c9b17e4b;hpb=61ec7ba7edca2df16294bf59493a38eb32daba7a;p=blog.git diff --git a/ikiwiki.setup b/ikiwiki.setup old mode 100644 new mode 100755 index 1dc6399..95d0734 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -9,37 +9,40 @@ use IkiWiki::Setup::Standard { # name of the wiki wikiname => 'unfolding disasters', # contact email for wiki - adminemail => 'wking@drexel.edu', + adminemail => 'wking@tremily.us', # users who are wiki admins adminuser => [qw{wking}], # users who are banned from the wiki banned_users => [], # where the source of the wiki is located - srcdir => '/tmp/ikiwiki', + srcdir => '.', # where to build the wiki - destdir => '/tmp/ikiwiki.build', + destdir => 'html', # base url to the wiki - url => 'http://www.physics.drexel.edu/~wking/unfolding-disasters', + url => 'http://blog.tremily.us/', # url to the ikiwiki.cgi - cgiurl => 'http://www.physics.drexel.edu/~wking/unfolding-disasters/ikiwiki.cgi', + #cgiurl => 'http://blog.tremily.us/cgi-bin/ikiwiki.cgi', # filename of cgi wrapper to generate - cgi_wrapper => '/tmp/ikiwiki.build/ikiwiki.cgi', + #cgi_wrapper => 'html/cgi-bin/ikiwiki.cgi', # mode for cgi_wrapper (can safely be made suid) - cgi_wrappermode => '06755', + #cgi_wrappermode => '06755', # rcs backend to use rcs => 'git', # plugins to add to the default configuration - add_plugins => [qw{goodstuff linktoimgonly lockedit mdwn_itex org sidebar}], + add_plugins => [qw{goodstuff linktoimgonly lockedit mdwn_itex org sidebar rawhtml rst}], # plugins to disable - disable_plugins => [qw{editpage htmlscrubber passwordauth smiley}], + disable_plugins => [qw{editpage passwordauth smiley}], # location of template files templatedir => '/home/wking/.ikiwiki/templates', # base wiki source location underlaydir => '/usr/share/ikiwiki/basewiki', + # generate HTML5? + html5 => 1, # display verbose messages? - #verbose => 1, + verbose => 1, # log to syslog? - syslog => 1, + #syslog => 1, + syslog => 0, # create output files named page/index.html? usedirs => 1, # use '!'-prefixed preprocessor directives? @@ -73,7 +76,7 @@ use IkiWiki::Setup::Standard { # environment variables ENV => {}, # regexp of source files to ignore - #exclude => '\\.wav$', + exclude => qr/^(html\/.*|ikiwiki.setup|Makefile)/, # specifies the characters that are allowed in source filenames wiki_file_chars => '-[:alnum:]+/.:_', # allow symlinks in the path leading to the srcdir (potentially insecure) @@ -81,7 +84,7 @@ use IkiWiki::Setup::Standard { # git plugin # git hook to generate - git_wrapper => '/tmp/ikiwiki.git/hooks/post-update.ikiwiki', + #git_wrapper => '/tmp/ikiwiki.git/hooks/post-update.ikiwiki', # mode for git_wrapper (can safely be made suid) #git_wrappermode => '06755', # git pre-receive hook to generate @@ -94,9 +97,14 @@ use IkiWiki::Setup::Standard { #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 => 'origin', + gitorigin_branch => '', # don't pull during build # branch that the wiki is stored in #gitmaster_branch => 'master', + # htmlscrubber plugin + # PageSpec specifying pages not to scrub + htmlscrubber_skip => "!templates/*", + # inline plugin # enable rss feeds by default? rss => 1, @@ -121,9 +129,15 @@ use IkiWiki::Setup::Standard { # mdwn_itex plugin # path to the itex2MML binary - #itex2mml => '/usr/local/bin/itex2MML', + #itex2mml => '/usr/bin/itex2MML', itex2mml => '/home/wking/bin/itex2MML', - # autonumber \[..\] equations? + # Must return numeric character references (e.g. α) or UTF-8 + # instead of MathML entities (e.g. α). If you're using the + # stock itex2MML, you might use a script like this: + # #!/bin/sh + # /usr/bin/itex2MML "${@}" | perl -e 'use MathML::Entities; print name2numbered($_) while(<>);' + + # autonumber \[..\]x equations? itex_num_equations => 1, # recentchanges plugin @@ -134,7 +148,7 @@ use IkiWiki::Setup::Standard { # repolist plugin # URIs of repositories containing the wiki's source - repositories => [qw{http://www.physics.drexel.edu/~wking/code/git/blog.git}], + repositories => [qw{git://tremily.us/blog.git}], # sidebar plugin # show sidebar page on all pages?