generator doc