Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integration-docs: Clarify use of event-filtering-additional-feature.
Lauryn Menard7e7e6b7ba9a6
diff --git a/docs/documentation/integrations.md b/docs/documentation/integrations.mdindex 9c45bcceec8..5c8a05234c2 100644--- a/docs/documentation/integrations.md+++ b/docs/documentation/integrations.md@@ -118,6 +118,13 @@ Here are a few common macros used to document Zulip's integrations:For an example rendering, see the end of[the docs for Zulip's GitHub integration][github-integration].+- `{!event-filtering-additional-feature.md!}` macro - If a webhook integration+ supports event filtering, then this adds a section with the specific+ events that can be filtered for the integration. Should be included in+ the documentation if `all_event_types` is set in the webhook integration+ view. For an example see, the **Filtering incoming events** section in+ [Zulip's GitLab integration][gitlab].+- `{!download-python-bindings.md!}` macro - Links to Zulip's[API page](https://zulip.com/api/) to download and install Zulip'sAPI bindings. This macro is usually used in non-webhook integration docs under@@ -151,17 +158,13 @@ Here are a few common macros used to document Zulip's integrations:For an example rendering, see[Zulip's Beanstalk integration](https://zulip.com/integrations/doc/beanstalk).-- `{!event-filtering-instructions}` macro - Instructs user to use the event- filtering feature and shows a list of event types that the integration supports.- For an example rendering, see the last 4 paragraphs of **Step 2** in- [the docs for Zulip's Front integration][front].-[github-integration]: https://zulip.com/integrations/doc/github[zendesk]: https://zulip.com/integrations/doc/zendesk[matrix]: https://zulip.com/integrations/doc/matrix#configure-the-bridge[codebase]: https://zulip.com/integrations/doc/codebase[beanstalk]: https://zulip.com/integrations/doc/beanstalk[front]: https://zulip.com/integrations/doc/front+[gitlab]: https://zulip.com/integrations/doc/gitlab[integrations-file]: https://github.com/zulip/zulip/blob/main/zerver/lib/integrations.py## Writing guidelinesdiff --git a/zerver/webhooks/azuredevops/doc.md b/zerver/webhooks/azuredevops/doc.mdindex b48474dd81d..5cfbe8dc54a 100644--- a/zerver/webhooks/azuredevops/doc.md+++ b/zerver/webhooks/azuredevops/doc.md@@ -28,12 +28,8 @@ Get Azure DevOps notifications in Zulip!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Configuration options{!git-branches-additional-feature.md!}diff --git a/zerver/webhooks/basecamp/doc.md b/zerver/webhooks/basecamp/doc.mdindex 7c8fc787995..c57142ea00d 100644--- a/zerver/webhooks/basecamp/doc.md+++ b/zerver/webhooks/basecamp/doc.md@@ -25,12 +25,8 @@ Receive notifications about Basecamp events in Zulip!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Related documentation{!webhooks-url-specification.md!}diff --git a/zerver/webhooks/bitbucket2/doc.md b/zerver/webhooks/bitbucket2/doc.mdindex 213cbf4b93a..bcea670df25 100644--- a/zerver/webhooks/bitbucket2/doc.md+++ b/zerver/webhooks/bitbucket2/doc.md@@ -30,12 +30,8 @@ Bitbucket Server click [here](./bitbucket3).-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Configuration options{!git-branches-additional-feature.md!}diff --git a/zerver/webhooks/bitbucket3/doc.md b/zerver/webhooks/bitbucket3/doc.mdindex 08025cdb7e6..a2b8bbaaf91 100644--- a/zerver/webhooks/bitbucket3/doc.md+++ b/zerver/webhooks/bitbucket3/doc.md@@ -30,12 +30,8 @@ Bitbucket Cloud (SAAS service) click [here](./bitbucket2).-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Configuration options{!git-branches-additional-feature.md!}diff --git a/zerver/webhooks/circleci/doc.md b/zerver/webhooks/circleci/doc.mdindex 4a6d0a6858d..f883533ec20 100644--- a/zerver/webhooks/circleci/doc.md+++ b/zerver/webhooks/circleci/doc.md@@ -27,12 +27,8 @@ CircleCI with GitHub, BitBucket and GitLab.-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Related documentation{!webhooks-url-specification.md!}diff --git a/zerver/webhooks/clubhouse/doc.md b/zerver/webhooks/clubhouse/doc.mdindex 4a3f75088cb..691e980ed31 100644--- a/zerver/webhooks/clubhouse/doc.md+++ b/zerver/webhooks/clubhouse/doc.md@@ -23,12 +23,8 @@ Get Zulip notifications for your Clubhouse Stories and Epics!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Related documentation{!webhooks-url-specification.md!}diff --git a/zerver/webhooks/freshping/doc.md b/zerver/webhooks/freshping/doc.mdindex 70e2d760a2b..eda41b43982 100644--- a/zerver/webhooks/freshping/doc.md+++ b/zerver/webhooks/freshping/doc.md@@ -23,12 +23,8 @@ Receive Freshping notifications in Zulip!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Related documentation{!webhooks-url-specification.md!}diff --git a/zerver/webhooks/freshstatus/doc.md b/zerver/webhooks/freshstatus/doc.mdindex 11d66897dd6..dde39acb3bb 100644--- a/zerver/webhooks/freshstatus/doc.md+++ b/zerver/webhooks/freshstatus/doc.md@@ -86,12 +86,8 @@ Receive Freshstatus notifications in Zulip!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Related documentation{!webhooks-url-specification.md!}diff --git a/zerver/webhooks/front/doc.md b/zerver/webhooks/front/doc.mdindex 90e2e8ece86..d73b4897ea2 100644--- a/zerver/webhooks/front/doc.md+++ b/zerver/webhooks/front/doc.md@@ -32,12 +32,8 @@ to receive Front notifications without leaving Zulip!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Related documentation{!webhooks-url-specification.md!}diff --git a/zerver/webhooks/gitlab/doc.md b/zerver/webhooks/gitlab/doc.mdindex 74664578942..c9ecbfeb219 100644--- a/zerver/webhooks/gitlab/doc.md+++ b/zerver/webhooks/gitlab/doc.md@@ -32,12 +32,8 @@ Receive GitLab notifications in Zulip!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Configuration options* By default, the Zulip topics for merge requests will contain the titlediff --git a/zerver/webhooks/grafana/doc.md b/zerver/webhooks/grafana/doc.mdindex d7ea87e1ed7..29fe92af4b5 100644--- a/zerver/webhooks/grafana/doc.md+++ b/zerver/webhooks/grafana/doc.md@@ -68,12 +68,8 @@ See your Grafana dashboard alerts in Zulip!-{% if all_event_types is defined %}-{!event-filtering-additional-feature.md!}-{% endif %}-### Related documentation{!webhooks-url-specification.md!}