From cd011b82bb9db06751e361bb24283c06179bd4f5 Mon Sep 17 00:00:00 2001 From: Sarah Edwards Date: Mon, 31 Jul 2023 09:11:36 -0700 Subject: [PATCH] Include an example of how to preview unpublished operations (#39882) --- src/rest/docs.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/rest/docs.js b/src/rest/docs.js index f48da91f3e..5da9a7363e 100755 --- a/src/rest/docs.js +++ b/src/rest/docs.js @@ -36,6 +36,13 @@ log( ' ' + chalk.magenta('npm run sync-rest -- --next --versions api.github.com ; npm run dev'), ) +log( + chalk.cyan.bold(' - Dotcom only, including unpublished operations:') + + ' ' + + chalk.magenta( + 'npm run sync-rest -- --versions api.github.com --include-unpublished ; npm run dev', + ), +) log(chalk.green.bold.underline('\nWebhook docs\n')) log(chalk.green.bold(' Examples of ways you can build the Webhook docs locally:\n')) log(