[doc] some introduction of codegen