From 53b7499f3866ed07ee6b9249c4607ffffe0c5bfa Mon Sep 17 00:00:00 2001 From: Rafael Laszlo <rlacko99@gmail.com> Date: Thu, 30 Dec 2021 16:24:43 +0100 Subject: [PATCH] Update sidebar for training materials --- app/sidebars.js | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/app/sidebars.js b/app/sidebars.js index 7f322bd..a7ad82c 100644 --- a/app/sidebars.js +++ b/app/sidebars.js @@ -14,7 +14,50 @@ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const sidebars = { // By default, Docusaurus generates a sidebar from the docs folder structure - guidesSidebar: [{ type: "autogenerated", dirName: "guides" }], + guidesSidebar: [ + "guides/main", + { + type: "category", + label: "Szolgáltatásaink", + link: { + type: "generated-index", + }, + items: [{ type: "autogenerated", dirName: "guides/services" }], + }, + { + type: "category", + label: "Képzésanyagaink", + link: { + type: "generated-index", + }, + items: [ + { + type: "category", + label: "Python3", + link: { + type: "generated-index", + }, + items: [{ type: "autogenerated", dirName: "guides/training/python" }], + }, + { + type: "category", + label: "Git", + link: { + type: "generated-index", + }, + items: [{ type: "autogenerated", dirName: "guides/training/git" }], + }, + { + type: "category", + label: "Linux", + link: { + type: "generated-index", + }, + items: [{ type: "autogenerated", dirName: "guides/training/linux" }], + }, + ], + }, + ], // But you can create a sidebar manually /* -- GitLab