docs: function handleTitle(doc, title, meta) {
    if (imageRegex.test(title)) {
      return title
    }
    else if (meta.title && meta.title !== ''){
      return meta.title
    }
    else if (title === 'README.md') {
      // Replace README.md with something more friendly
      // The first h1 tag or first line.
      return doc.match(/^(.*)$/m)[0].replace('#','').trim()
    }
    else {
      // Return the file name minus the extension and capitalize it
      return capitalizeFirstLetter(title.replace('.md','').trim())
    }
  }