add docgen to dart scripts