docs for erb templates and generator