accept output from react-docgen, create READMEs
@param {Object} api
function buildDocs(api) {
  const view = buildTemplateView(api);

  // build up readmes one at a time
  const queue = d3.queue(1);

  Object.keys(api).forEach((filepath) => {
    queue.defer(buildReadMe, filepath, view);
  });

  queue.await((err) => {
    if (err) {
      console.log(err);
    }

    console.log('Finished building docs');
  });
}