docs: function versionToSemver (version) {
    // FIXME: parse more detail, but this is a good start
    var parsed = version.match(/^([0-9]+\.[0-9]+\.[0-9]+)-([0-9a-f]{8})[/*].*$/);
    if (parsed) {
      return parsed[1] + '+commit.' + parsed[2];
    }
    if (version.indexOf('0.1.3-0') !== -1) {
      return '0.1.3';
    }
    // assume it is already semver compatible
    return version;
  }