The documentation tool does not include the Goals in the exported text. This happens if there are no goals assessment page.
Issue is reported here
Test content: https://h5p.org/node/167689
Content created in H5P.org
Goals should still be included in the exported document.
Update: This happens even if there is an assessment page. Goals that did not have a rating is not included in the export as reported in https://h5p.org/node/207309
Another user is reporting this issue: https://h5p.org/node/535313
Another user has the same issue: https://h5p.org/node/610749