generate doco when making a package