From 23162a14339bf5bc44f3037859cfbcbb7db54f5d Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Fri, 24 Nov 2017 19:37:21 -0330 Subject: [PATCH] github_webhook: Use indented Markdown macros. --- zerver/webhooks/github_webhook/doc.md | 29 +++++++++++++-------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/zerver/webhooks/github_webhook/doc.md b/zerver/webhooks/github_webhook/doc.md index 518bfcad1d..de58635342 100644 --- a/zerver/webhooks/github_webhook/doc.md +++ b/zerver/webhooks/github_webhook/doc.md @@ -2,32 +2,31 @@ For the integration based on the deprecated [GitHub Services](https://github.com/github/github-services), see [here](./github). -{!create-stream.md!} +1. {!create-stream.md!} -{!create-bot-construct-url.md!} +2. {!create-bot-construct-url-indented.md!} -{!git-webhook-url-with-branches.md!} +3. {!git-webhook-url-with-branches-indented.md!} -Next, go to your repository page and click **Settings**: +4. Next, go to your repository page and click **Settings**: + ![](/static/images/integrations/github_webhook/001.png) -![](/static/images/integrations/github_webhook/001.png) +5. From there, select **Webhooks**: -From there, select **Webhooks**: + ![](/static/images/integrations/github_webhook/002.png) -![](/static/images/integrations/github_webhook/002.png) +6. Click **Add webhook**. -Click **Add webhook**. + ![](/static/images/integrations/github_webhook/003.png) -![](/static/images/integrations/github_webhook/003.png) +7. Authorize yourself and configure your webhook. -Authorize yourself and configure your webhook. +8. In the **Payload URL** field, enter the URL constructed above. -In the **Payload URL** field, enter the URL constructed above. +9. Then, set **Content type** to `application/json`. -Then, set **Content type** to `application/json`. - -Next, select the actions that you want to result in a Zulip -notification and click **Add Webhook**. +10. Next, select the actions that you want to result in a Zulip + notification and click **Add Webhook**. {!congrats.md!}