home button on each sidebar

This commit is contained in:
fryorcraken 2025-09-29 16:36:24 +10:00
parent 3c807e917c
commit 299a5c5bd3
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -3,6 +3,11 @@
/** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */ /** @type {import("@docusaurus/plugin-content-docs").SidebarsConfig} */
const sidebars = { const sidebars = {
build: [ build: [
{
type: "link",
label: "Home",
href: "/",
},
{ {
type: "category", type: "category",
label: "JavaScript SDK", label: "JavaScript SDK",
@ -37,6 +42,11 @@ const sidebars = {
}, },
], ],
runNode: [ runNode: [
{
type: "link",
label: "Home",
href: "/",
},
{ {
type: "category", type: "category",
label: "Run a Nwaku Node", label: "Run a Nwaku Node",
@ -65,6 +75,11 @@ const sidebars = {
}, },
], ],
learn: [ learn: [
{
type: "link",
label: "Home",
href: "/",
},
"learn/waku-network", "learn/waku-network",
{ {
type: "category", type: "category",
@ -98,12 +113,22 @@ const sidebars = {
"learn/faq", "learn/faq",
], ],
research: [ research: [
{
type: "link",
label: "Home",
href: "/",
},
{ {
type: "autogenerated", type: "autogenerated",
dirName: "research", dirName: "research",
}, },
], ],
guides: [ guides: [
{
type: "link",
label: "Home",
href: "/",
},
"guides/getting-started", "guides/getting-started",
], ],
}; };