From a3b4e9db5fc0b43603519c822ae03c6bfe969df6 Mon Sep 17 00:00:00 2001 From: Mark Fulton <128738155+markunl@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:18:59 -0400 Subject: [PATCH] docs: updated sidebars and added missing doc ID (#4993) Updated `sidebars.js` to incorporate `Getting Started` as top level doc, with Unleash Academy in child structure (order as discussed with @dgorton ). See screenshot. Also added missing `id` to `getting-started.md` ![image](https://github.com/Unleash/unleash/assets/128738155/52881918-a38b-4e6a-b6c8-bbeb1cd0a232) --- website/docs/tutorials/getting-started.md | 1 + website/sidebars.js | 22 ++++++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/website/docs/tutorials/getting-started.md b/website/docs/tutorials/getting-started.md index 5857c0596b..87ed96d7b2 100644 --- a/website/docs/tutorials/getting-started.md +++ b/website/docs/tutorials/getting-started.md @@ -1,4 +1,5 @@ --- +id: getting-started title: Getting Started --- diff --git a/website/sidebars.js b/website/sidebars.js index 1690196731..9631806959 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -13,17 +13,27 @@ module.exports = { documentation: [ 'about-the-docs', { - label: 'First steps and tutorials', + label: 'Getting Started', type: 'category', collapsed: false, link: { - type: 'generated-index', - title: 'First steps', - description: 'Learn how and where to get started with Unleash.', - slug: '/tutorials', + type: 'doc', + id: 'tutorials/getting-started', }, items: [ - 'tutorials/getting-started', + { + type: 'category', + label: 'Unleash Academy', + link: { + type: 'doc', + id: 'tutorials/academy', + }, + items: [ + 'tutorials/academy-foundational', + 'tutorials/academy-advanced-for-devs', + 'tutorials/academy-managing-unleash-for-devops', + ], + }, 'tutorials/unleash-overview', 'tutorials/important-concepts', ],