finish docGen prototype add attributes and comment convention