posts:package_management: Add post following SWC discussion
[blog.git] / ikiwiki.setup
old mode 100644 (file)
new mode 100755 (executable)
index 8f9dcb3..95d0734
@@ -9,7 +9,7 @@ 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
@@ -19,23 +19,25 @@ use IkiWiki::Setup::Standard {
        # where to build the wiki
        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',
        # rcs backend to use
        rcs => 'git',
        # plugins to add to the default configuration
-       add_plugins => [qw{goodstuff linktoimgonly lockedit mdwn_itex org sidebar rawhtml}],
+       add_plugins => [qw{goodstuff linktoimgonly lockedit mdwn_itex org sidebar rawhtml rst}],
        # plugins to disable
        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,
        # log to syslog?
@@ -127,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
@@ -140,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?