Fork me on GitHub

About the site

The site is kept in the ledger-website repo (changes). It is static html generated from markdown by hakyll. Commits will normally appear on immediately, otherwise on the hour.

Version-specific documentation, with urls beginning /3.0/ or /2.6/, comes from the ledger docs in the master and maint branches respectively.

There is also a wiki, that of the ledger repo on Github, with a convenient url alias:

Some site config that’s not kept in the repo:

Apache vhost:

<VirtualHost *:80>

  RewriteEngine on

  # convenience aliases

  # -> mail list
  RewriteCond %{HTTP_HOST} ^$
  RewriteRule ^(.*)          $1 [L]
  RewriteRule ^/(?:lists?)(/(.*)|$)$1 [L]

  # -> git repo
  RewriteCond %{HTTP_HOST} ^$
  RewriteRule ^(.*)          $1 [L]

  # -> wiki
  RewriteCond %{HTTP_HOST} ^$
  RewriteRule ^(.*)          $1 [L]

  # serve almost everything else from the hakyll-generated website
  RewriteCond %{REQUEST_URI} !^/(cgi-bin|awstats|icons)
  RewriteRule ^(.*) /repos/ledger-website/_site$1 [L]

Cron rules:

# pull latest ledger docs
*/15 * * * * simon  cd /repos/ledger;         git pull -q && cd doc && make --quiet
*/15 * * * * simon  cd /repos/ledger2.6;      git pull -q && make --quiet
# pull latest site, fallback in case github listener not running
*/15 * * * * simon  cd /repos/ledger-website; git pull -q && make --quiet

The current webmaster is Simon Michael and all help is welcomed.