docs

This is a WIP branch for documenting how to write
ngen templates
fixed.