docs: function writePage(resourceId, resourceObj, pathPrefix) {
    const outputPath = resourcePath(resourceId, pathPrefix);
    resourceObj.outputPath = outputPath;
    return write(outputPath, resourceObj.contents);
  }