[doc] Update API formatting.