Given the proposed structure of having controls include their own documentation as part of their code, but also needing non-control based sections, like iconography, color, and layout rules, we need to finalize on a technology for rendering dynamic and static states of controls, their write-ups, and the code used to generate them.
existing artifacts
https://tools.wmflabs.org/oojs-ui/oojs-ui/demos/index.html#widgets-mediawiki-vector-ltr
https://tools.wmflabs.org/styleguide/desktop/index.html
There would be many benefits from the tool residing within mediawiki, but we'd have to weigh the pros and cons, especially in light of the eventual goal of having the LSG evolve into a tool similar to Polymer designer