chore(doc-gen): improve headings for events and examples
The "Events" heading now gets an id (which makes them show in the table of contents, and their "Parameters" use a heading with a lower priority (previously it was the same as "Events" itself). The "@example" tag now generates the heading "Example" if there's only one, or "Examples" if there are multiple.
M
Martin Staffa committed
1de5d181dae24428b86ed0727d2a002e9f3342ef
Parent: 73088bb