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:
Niloth P
2025-03-02 11:01:06 +05:30
committed by Tim Abbott
parent 8f564b2053
commit 30e7310495
4 changed files with 1 additions and 23 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -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

View File

@@ -1 +0,0 @@
`{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream=123`