Store multi-doc enums as a list

If a series of defines is transformed into an enum, we might have
multiple doc blocks, grouped by purpose. Store the docs and definitions
as a list of pairs for rendering.
Add a build task
Show multi-doc blocks in the UI

If we have the sections, show them instead of the joined-together block.
Merge branch 'multidoc-enum'