integration-docs: Combine two macros that are always used together.

Edited the git-append-branches.md macro to match the previous
git-branches-additional-feature.md macro, and moved it inside the
webhook-url-with-bot-email.md macro, as it's only ever used
immediately after that macro.
This commit is contained in:
Niloth P
2025-03-02 11:03:45 +05:30
committed by Tim Abbott
parent 30e7310495
commit b7e79715cc
5 changed files with 4 additions and 12 deletions

View File

@@ -127,11 +127,6 @@ Here are a few common macros used to document Zulip's integrations:
rendering, see **Step 4** of
[the docs for Zulip's Codebase integration][codebase].
- `{!git-append-branches.md!}` - This macro explains how to specify a list
of branches in the webhook URL to filter notifications in our Git-related
webhooks. For an example rendering, see the last paragraph of **Step 2**
in [the docs for Zulip's GitHub integration][github-integration].
- `{!webhook-url-with-bot-email.md!}` - Used in certain non-webhook integrations
to generate URLs of the form:

View File

@@ -1,4 +0,0 @@
You can also limit the notifications you receive to specific branches
by appending `?branches=main,development` to the end of the URL,
where `main` and `development` are the branches you'd like to be
notified about.

View File

@@ -7,3 +7,7 @@ Modify the parameters of the URL above, where `bot_email` is
the bot's URL-encoded email address and `bot_api_key` is the
bot's API key. To URL-encode the email address, you just need
to replace `@` in the bot's email address with `%40`.
You can also limit the branches you receive notifications for by
specifying them in a comma-separated list appended to the end of the
URL, e.g., `&branches=main,development`.

View File

@@ -5,7 +5,6 @@ Zulip supports both SVN and Git notifications from Beanstalk.
1. {!create-an-incoming-webhook.md!}
{!webhook-url-with-bot-email.md!}
{!git-append-branches.md!}
1. On your repository's webpage, click on the **Settings**
tab. Click on the **Integrations** tab, scroll down and click on

View File

@@ -14,8 +14,6 @@ hook from the list presented and click **Add hook**.
{!webhook-url-with-bot-email.md!}
{!git-append-branches.md!}
By default, notifications are sent to the `commits` channel. To
send notifications to a different channel, append
`?stream=channel_name` to the URL.