From 6f9d35a7b0e50fd3d7aec6b9169609e1ad59a77e Mon Sep 17 00:00:00 2001
From: David Siegfried <ds.siegfried@gmail.com>
Date: Thu, 12 Oct 2023 14:54:33 +0200
Subject: [PATCH] move content

---
 .../multi-person-search.md}                               | 6 +++++-
 .../{main/Notifications.md => functions/notifications.md} | 8 ++++++--
 website/docs/start.md                                     | 2 --
 website/sidebars.js                                       | 2 ++
 4 files changed, 13 insertions(+), 5 deletions(-)
 rename website/docs/{main/MultiPersonSearch.md => functions/multi-person-search.md} (96%)
 rename website/docs/{main/Notifications.md => functions/notifications.md} (99%)

diff --git a/website/docs/main/MultiPersonSearch.md b/website/docs/functions/multi-person-search.md
similarity index 96%
rename from website/docs/main/MultiPersonSearch.md
rename to website/docs/functions/multi-person-search.md
index 554053f..2dd528a 100644
--- a/website/docs/main/MultiPersonSearch.md
+++ b/website/docs/functions/multi-person-search.md
@@ -1,4 +1,8 @@
-## MultiPersonSearch-Klasse
+---
+id: multi-person-search
+title: MultiPersonSearch-Klasse
+sidebar_label: MultiPersonSearch-Klasse
+---
 
 `lib/classes/MultiPersonSearch.class.php` stellt eine Klasse bereit, mit der ein Dialog zum Hinzufügen von mehreren Personen erstellt werden kann. Ist JavaScript aktiviert, wird dazu ein [Modaler Dialog](ModalerDialog#toc5) geöffnet, anderenfalls wird ein Fallback angezeigt.
 
diff --git a/website/docs/main/Notifications.md b/website/docs/functions/notifications.md
similarity index 99%
rename from website/docs/main/Notifications.md
rename to website/docs/functions/notifications.md
index cfdecbd..4c61155 100644
--- a/website/docs/main/Notifications.md
+++ b/website/docs/functions/notifications.md
@@ -1,3 +1,9 @@
+---
+id: notifications
+title: Notifications
+sidebar_label: Notifications
+---
+
 ## Notifications - ein Eventsystem für Stud.IP
 
 Plugins können in Stud.IP schon eine Menge. Sie können für jede Veranstaltung als Reiter eingefügt werden, sie können sich in die Homepage eines Nutzers mogeln und dort eine eigene Rubrik darstellen, sie können die Navigation umstellen und auf diese Weise komplette Fuktionen von Stud.IP wie das Forum ersetzen. Aber manchmal braucht man auch kleine Plugins, die nicht ganze Seiten verändern, sondern nur etwas tun, wenn etwas ganz bestimmtes passiert.
@@ -347,5 +353,3 @@ NotificationCenter::postNotification('ConfigValueChanged',
     ]
 );
 ```
-
-
diff --git a/website/docs/start.md b/website/docs/start.md
index 2be6f4f..f4301bc 100644
--- a/website/docs/start.md
+++ b/website/docs/start.md
@@ -7,8 +7,6 @@ sidebar_label: Übersicht
 ## Dokumentation zu einzelnen Klassen und Funktionen
 
 
-* [Modul für die globale Suche](main/GlobalSearchModule)
-* [MultiPersonSearch](main/MultiPersonSearch)
 * [Notifications](main/Notifications)
 * [PageLayout](main/PageLayout)
 * [PDF-Export Klasse](exports/pdfs) (ab 2.1)
diff --git a/website/sidebars.js b/website/sidebars.js
index a136515..663cec4 100644
--- a/website/sidebars.js
+++ b/website/sidebars.js
@@ -136,6 +136,8 @@ module.exports = {
                 "functions/migrations",
                 "functions/modaler-dialog",
                 "functions/global-search-module",
+                "functions/multi-person-search",
+                "functions/notifications",
             ]
         }
     ],
-- 
GitLab