add generation document