docs: function composePage(pageData, locals) {
    const layoutReference = pageData.layout,
      pageDataNoConf = references.omitPageConfiguration(pageData);
  
    return components.get(layoutReference)
      .then(layoutData => mapLayoutToPageData(pageDataNoConf, layoutData))
      .then(fullData => resolveComponentReferences(fullData, locals));
  }