Github user josehenriqueventura commented on the issue:
https://github.com/apache/tomee/pull/316
Thank you for your PR.
I tried to generate the .html file based on those two .md files that you
modified, but they were generated with the title after the following commit:
https://github.com/apache/tomee/commit/0efe6d0b9ca044d2be312f7baa4b0918a059ee6c
The **tomee-site-generator** searches for the String "title:" instead of
"#...".
https://github.com/apache/tomee-site-generator/blob/ee0724fcdf3543b014a3869ebbd22512159499ba/src/main/java/org/apache/tomee/website/JbakeHeaders.java#L118
If you haven't yet, you might try to checkout tomee-site-generator project
and try out adding the title to file and see the results.
Checkout https://github.com/apache/tomee-site-generator/
- mvn clean compile
-
tomee-site-generator/target/site-1.0-SNAPSHOT/tomee-8.0/examples/cdi-alternative-and-stereotypes.html
(double click and the title is NULL)
- then you can modify this file
**/tomee-site-generator/repos/tomee-8.0/examples/cdi-alternative-and-stereotypes/README.md**,
just adding the title as was added in this commit
https://github.com/apache/tomee/commit/0efe6d0b9ca044d2be312f7baa4b0918a059ee6c;
- compile the project again
-
**tomee-site-generator/target/site-1.0-SNAPSHOT/tomee-8.0/examples/cdi-alternative-and-stereotypes.html**
(double click and the title should be displayed).
I hope I have helped. =)
---