Generate doc of v2