Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Update Gogs for new doc format.

PieterCK58b32a09a84d
diff --git a/zerver/webhooks/gogs/doc.md b/zerver/webhooks/gogs/doc.md
index 09a59c6b0db..791c74bb21f 100644
--- a/zerver/webhooks/gogs/doc.md
+++ b/zerver/webhooks/gogs/doc.md
@@ -1,21 +1,35 @@
+# Zulip Gogs integration
+
Receive Gogs notifications in Zulip!
+{start_tabs}
+
1. {!create-channel.md!}
1. {!create-an-incoming-webhook.md!}
-1. {!generate-integration-url.md!}
-
- {!git-webhook-url-with-branches.md!}
+1. {!generate-webhook-url-basic.md!}
1. Go to your repository on Gogs and click on **Settings**. Select
**Webhooks** on the left sidebar, and click **Add Webhook**.
Select **Gogs**.
-1. Set **Payload URL** to the URL constructed above. Set **Content type**
- to `application/json`. Select the events you would like to receive
- notifications for, and click **Add Webhook**.
+1. Set **Payload URL** to the URL generated above. Set **Content type**
+ to `application/json`. Select the [events](#filtering-incoming-events)
+ you would like to receive notifications for, and click **Add Webhook**.
+
+{end_tabs}
{!congrats.md!}
![](/static/images/integrations/gogs/001.png)
+
+{!event-filtering-additional-feature.md!}
+
+### Configuration options
+
+{!git-branches-additional-feature.md!}
+
+### Related documentation
+
+{!webhooks-url-specification.md!}