document generateLicenses