From 4181a0ecd658d1dacd2a682b09ff2e00c860af90 Mon Sep 17 00:00:00 2001 From: LordGhostX Date: Tue, 6 Jun 2023 03:47:24 +0100 Subject: [PATCH] improve navbar hint --- docusaurus.config.js | 4 +- sidebars.js | 98 ++++++++++++++++++++++++++------------------ 2 files changed, 60 insertions(+), 42 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 99c2a33..e4f1f76 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -59,7 +59,7 @@ const config = { }, { type: "dropdown", - label: "Getting Started", + label: "Guides", position: "right", items: [ { @@ -107,7 +107,7 @@ const config = { footer: { links: [ { - title: "Getting Started", + title: "Guides", items: [ { to: "/guides/sdks-and-nodes", diff --git a/sidebars.js b/sidebars.js index 746f9c6..d07d7ca 100644 --- a/sidebars.js +++ b/sidebars.js @@ -3,56 +3,74 @@ /** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */ const sidebars = { main: [ - "overview/index", - "overview/history", - "overview/why-waku", - "overview/use-cases", - { - type: "html", - value: "SDKs and Nodes " - }, - { - type: "html", - value: "Presentations " - }, { type: "category", - label: "Concepts", - collapsed: false, - collapsible: true, + label: "About Waku", + collapsible: false, items: [ - "overview/concepts/protocols", - "overview/concepts/content-topics", - "overview/concepts/network-domains", - "overview/concepts/peer-discovery", - "overview/concepts/transports" - ] - }, - { - type: "category", - label: "Reference", - collapsed: false, - collapsible: true, - items: [ - "overview/reference/glossary", - "overview/reference/security-features", - "overview/reference/research-in-progress", - "overview/reference/waku-vs-libp2p" + "overview/index", + "overview/history", + "overview/why-waku", + "overview/use-cases", + { + type: "html", + value: "SDKs and Nodes " + }, + { + type: "html", + value: "Presentations " + }, + { + type: "category", + label: "Concepts", + collapsed: false, + items: [ + "overview/concepts/protocols", + "overview/concepts/content-topics", + "overview/concepts/network-domains", + "overview/concepts/peer-discovery", + "overview/concepts/transports" + ] + }, + { + type: "category", + label: "Reference", + items: [ + "overview/reference/glossary", + "overview/reference/security-features", + "overview/reference/research-in-progress", + "overview/reference/waku-vs-libp2p" + ] + } ] } ], guides: [ - "guides/sdks-and-nodes" + { + type: "category", + label: "Guides", + collapsible: false, + items: [ + "guides/sdks-and-nodes" + ] + } ], community: [ - "powered-by-waku", - "community", - "contribute", - "presentations", { - type: "link", - label: "Bug Bounty Program", - href: "https://hackenproof.com/status-dot-im/waku" + type: "category", + label: "Community", + collapsible: false, + items: [ + "powered-by-waku", + "community", + "contribute", + "presentations", + { + type: "link", + label: "Bug Bounty Program", + href: "https://hackenproof.com/status-dot-im/waku" + } + ] } ] };