docs: function translate (content, contentTypes) {
    let output = {}
    content.forEach(each => {
      const base = path.parse(each.file).base
      if (base === 'index.md') {
        const type = each.dir.split('/').pop()
        const contentTypeTranslation = contentTypes.find(contentType => contentType[type])
        if (contentTypeTranslation && contentTypeTranslation[type]) {
          output[type] = contentTypeTranslation[type](content, type)
        }
      }
    })
    return output
  }