From 36ea0346d9b3215328620fb6fff2db5772242a46 Mon Sep 17 00:00:00 2001
From: Bojan Marjanovic <bmarjanovic@gitlab.com>
Date: Thu, 25 Jul 2024 15:42:23 +0000
Subject: [PATCH] Update Matrix integration's documentation

---
 doc/api/integrations.md                 | 18 +++++++++---------
 doc/user/project/integrations/matrix.md |  3 ---
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/doc/api/integrations.md b/doc/api/integrations.md
index 40f6851ee3ddf..23f9e6b24e6cc 100644
--- a/doc/api/integrations.md
+++ b/doc/api/integrations.md
@@ -1264,15 +1264,15 @@ Parameters:
 | `room` | string | yes | Unique identifier for the target room (in the format `!qPKKM111FFKKsfoCVy:matrix.org`). |
 | `notify_only_broken_pipelines` | boolean | no | Send notifications for broken pipelines. |
 | `branches_to_be_notified` | string | no | Branches to send notifications for. Valid options are `all`, `default`, `protected`, and `default_and_protected`. The default value is `default`. |
-| `push_events` | boolean | yes | Enable notifications for push events. |
-| `issues_events` | boolean | yes | Enable notifications for issue events. |
-| `confidential_issues_events` | boolean | yes | Enable notifications for confidential issue events. |
-| `merge_requests_events` | boolean | yes | Enable notifications for merge request events. |
-| `tag_push_events` | boolean | yes | Enable notifications for tag push events. |
-| `note_events` | boolean | yes | Enable notifications for note events. |
-| `confidential_note_events` | boolean | yes | Enable notifications for confidential note events. |
-| `pipeline_events` | boolean | yes | Enable notifications for pipeline events. |
-| `wiki_page_events` | boolean | yes | Enable notifications for wiki page events. |
+| `push_events` | boolean | no | Enable notifications for push events. |
+| `issues_events` | boolean | no | Enable notifications for issue events. |
+| `confidential_issues_events` | boolean | no | Enable notifications for confidential issue events. |
+| `merge_requests_events` | boolean | no | Enable notifications for merge request events. |
+| `tag_push_events` | boolean | no | Enable notifications for tag push events. |
+| `note_events` | boolean | no | Enable notifications for note events. |
+| `confidential_note_events` | boolean | no | Enable notifications for confidential note events. |
+| `pipeline_events` | boolean | no | Enable notifications for pipeline events. |
+| `wiki_page_events` | boolean | no | Enable notifications for wiki page events. |
 | `use_inherited_settings` | boolean | no | Indicates whether or not to inherit default settings. Defaults to `false`. |
 
 ### Disable Matrix notifications
diff --git a/doc/user/project/integrations/matrix.md b/doc/user/project/integrations/matrix.md
index 5a17b62eddff0..7df60b88e773d 100644
--- a/doc/user/project/integrations/matrix.md
+++ b/doc/user/project/integrations/matrix.md
@@ -13,9 +13,6 @@ DETAILS:
 > - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/) in GitLab 17.3.
 
 You can configure GitLab to send notifications to a Matrix room.
-To set up the Matrix integration, you must:
-
-1. [Set up the Matrix integration in GitLab](#set-up-the-matrix-integration-in-gitlab).
 
 ## Set up the Matrix integration in GitLab
 
-- 
GitLab