mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
integration-docs: Remove two outdated macros.
- generate-integration-url.md has been long replaced by the generate-webhook-url-basic.md. - webhook-url.md was only being used inside the above macro.
This commit is contained in:
@@ -444,7 +444,7 @@ Learn how Zulip integrations work with this simple Hello World example!
|
||||
|
||||
1. {!create-an-incoming-webhook.md!}
|
||||
|
||||
1. {!generate-integration-url.md!}
|
||||
1. {!generate-webhook-url-basic.md!}
|
||||
|
||||
1. To trigger a notification using this example webhook, you can use
|
||||
`send_webhook_fixture_message` from a [Zulip development
|
||||
|
@@ -132,9 +132,6 @@ Here are a few common macros used to document Zulip's integrations:
|
||||
webhooks. For an example rendering, see the last paragraph of **Step 2**
|
||||
in [the docs for Zulip's GitHub integration][github-integration].
|
||||
|
||||
- `{!webhook-url.md!}` - Used internally by `{!generate-integration-url.md!}`
|
||||
to generate the webhook URL.
|
||||
|
||||
- `{!webhook-url-with-bot-email.md!}` - Used in certain non-webhook integrations
|
||||
to generate URLs of the form:
|
||||
|
||||
|
@@ -1,18 +0,0 @@
|
||||
[Generate the URL][generate-url] for your {{ integration_display_name }}
|
||||
integration.
|
||||
|
||||
{% if all_event_types is defined %}
|
||||
|
||||
{!event-filtering-instruction.md!}
|
||||
|
||||
{% endif %}
|
||||
|
||||
The generated URL will look something like this:
|
||||
|
||||
{!webhook-url.md!}
|
||||
|
||||
*To manually construct the URL for an incoming webhook integration,
|
||||
see [the webhook URLs specification][incoming-webhook-urls].*
|
||||
|
||||
[generate-url]: /help/generate-integration-url
|
||||
[incoming-webhook-urls]: /api/incoming-webhooks-overview#url-specification
|
@@ -1 +0,0 @@
|
||||
`{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream=123`
|
Reference in New Issue
Block a user