code: async function writeDocs (basePath, nodes) {
    Promise.all(nodes.map((node) => {
      const location = path.join(basePath, node.location.replace(srcPath, '').replace(/\.js$/, '.adoc'))
      return fs.outputFile(location, node.comments)
    }))
  }
docs: Writes all docs to their respective files
  
  @method writeDocs
  
  @param  {String}  basePath
  @param  {Array}  nodes
  
  @return {void}