Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Document generate-webhook-url-basic macro.
Lauryn Menard919636be3736
diff --git a/docs/documentation/integrations.md b/docs/documentation/integrations.mdindex 6f05d0418bd..98ea6edde7d 100644--- a/docs/documentation/integrations.md+++ b/docs/documentation/integrations.md@@ -74,7 +74,7 @@ Here are a few common macros used to document Zulip's integrations:- `{!create-channel.md!}` macro - Recommends that users create a dedicatedchannel for a given integration. Usually the first step is setting up anintegration or incoming webhook. For an example rendering, see **Step 1** of- [the docs for Zulip's GitHub integration][github-integration].+ [the docs for Zulip's Zendesk integration][zendesk].- `{!create-an-incoming-webhook.md!}` macro - Instructs users to create a botfor a given integration and select **Incoming webhook** as the **Bot type**.@@ -85,17 +85,21 @@ Here are a few common macros used to document Zulip's integrations:for a given integration and select **Generic bot** as the **Bot type**. For anexample rendering, see [the docs for Zulip's Matrix integration][matrix].- **Note:** If special configuration is- required to set up the URL and you can't use this macro, be sure to use the- `{{ api_url }}` template variable, so that your integration- documentation will provide the correct URL for whatever server it is- deployed on.+- `{!generate-webhook-url-basic.md!}` - Instructs user how to get the URL for a+ bot for a given integration. Note that this macro should not be used with the+ `{!create-channel.md!}` macro. For an example rendering, see **Step 2** of+ [the docs for Zulip's GitHub integration][github-integration].- `{!generate-integration-url.md!}` - Instructs user how to get the URL for abot for a given integration. An example URL is generated automatically forevery incoming webhook by using attributes in the `WebhookIntegration` classin [zerver/lib/integrations.py][integrations-file].+ **Note:** If special configuration is required to set up the URL and you can't+ use these macros, be sure to use the `{{ api_url }}` template variable, so+ that your integration documentation will provide the correct URL for whatever+ server it is deployed on.+- `{!append-channel-name.md!}` macro - Recommends appending `&stream=channel_name`to a URL in cases where supplying a channel name in the URL is optional.Supplying a channel name is optional for most Zulip integrations. If you use