docs: function formDataFromLayout(locals, uri) {
    return function (result) {
      const _layoutRef = result.layout,
        pageData = references.omitPageConfiguration(result);
  
      return components.get(_layoutRef, locals)
        .then(layout => mapLayoutToPageData(pageData, layout))
        .then(mappedData => module.exports.formDataForRenderer(mappedData, { _layoutRef, _ref: uri }, locals));
    };
  }