code: function getType (str, typeLinks) {
    if (str in typeLinks) {
      return dom.create('a').class('qm-api-type-link').attr('href', typeLinks[str]).text(str)
    } else {
      return str
    }
  }
docs: Lookup the type url from the availble type links