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: Remove two outdated macros.

Niloth P30e731049553
diff --git a/api_docs/incoming-webhooks-walkthrough.md b/api_docs/incoming-webhooks-walkthrough.md
index 1953ed18e81..a6d0f17e29b 100644
--- a/api_docs/incoming-webhooks-walkthrough.md
+++ b/api_docs/incoming-webhooks-walkthrough.md
@@ -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
diff --git a/docs/documentation/integrations.md b/docs/documentation/integrations.md
index f9f872eec3e..cf2d8d78ae5 100644
--- a/docs/documentation/integrations.md
+++ b/docs/documentation/integrations.md
@@ -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:
diff --git a/templates/zerver/integrations/include/generate-integration-url.md b/templates/zerver/integrations/include/generate-integration-url.md
deleted file mode 100644
index ca808e77fbb..00000000000
--- a/templates/zerver/integrations/include/generate-integration-url.md
+++ /dev/null
@@ -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
diff --git a/templates/zerver/integrations/include/webhook-url.md b/templates/zerver/integrations/include/webhook-url.md
deleted file mode 100644
index 6fd1a028d63..00000000000
--- a/templates/zerver/integrations/include/webhook-url.md
+++ /dev/null
@@ -1 +0,0 @@
-`{{ api_url }}{{ integration_url }}?api_key=abcdefgh&stream=123`