document [pregenerate]