[doc] Update contribute snippets.