Merge pull request #40 from waku-org/fix/links

This commit is contained in:
fryorcraken.eth 2023-03-22 07:26:20 +11:00 committed by GitHub
commit 171ec76c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 41 additions and 28 deletions

View File

@ -0,0 +1,5 @@
---
title: Introduction
---
js-waku doc goes here

View File

@ -28,8 +28,6 @@ const config = {
docs: { docs: {
routeBasePath: "/", routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: "https://github.com/waku-org/waku.guide/tree/staging/", editUrl: "https://github.com/waku-org/waku.guide/tree/staging/",
}, },
theme: { theme: {
@ -49,9 +47,16 @@ const config = {
title: "Waku", title: "Waku",
items: [ items: [
{ {
label: "Docs", type: 'docSidebar',
type: "doc", position: 'left',
docId: "introduction", sidebarId: 'main',
label: 'Overview',
},
{
type: 'docSidebar',
position: 'left',
sidebarId: 'browser',
label: 'JavaScript (Browser)',
}, },
], ],
}, },
@ -60,22 +65,22 @@ const config = {
{ {
title: "Community", title: "Community",
items: [ items: [
{
href: "https://stackoverflow.com/questions/tagged/docusaurus",
label: "Stack Overflow",
},
{ {
href: "https://forum.vac.dev/", href: "https://forum.vac.dev/",
label: "Discourse", label: "Discourse",
}, },
{ {
href: "https://discord.gg/j5pGbn7MHZ", href: "https://discord.gg/Nrac59MfSX",
label: "Twitter", label: "Discord",
}, },
{ {
href: "https://twitter.com/waku_org", href: "https://twitter.com/waku_org",
label: "Twitter", label: "Twitter",
}, },
{
href: "https://t.me/waku_org",
label: "Telegram",
},
], ],
}, },
], ],

View File

@ -3,32 +3,35 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
docs: [ main: [
"introduction", "main/introduction",
"history", "main/history",
"motivation-and-goals", "main/motivation-and-goals",
"why-waku", "main/why-waku",
"who-is-using-waku", "main/who-is-using-waku",
"implementations", "main/implementations",
"how-does-it-work", "main/how-does-it-work",
{ {
type: "category", type: "category",
label: "Concepts", label: "Concepts",
collapsed: false, collapsed: false,
collapsible: true, collapsible: true,
items: [ items: [
"Concepts/different-protocols", "main/concepts/different-protocols",
"Concepts/protocols-explained", "main/concepts/protocols-explained",
"Concepts/protocols-overview-by-example", "main/concepts/protocols-overview-by-example",
"Concepts/discovery-and-bootstrap", "main/concepts/discovery-and-bootstrap",
"Concepts/transports-in-waku", "main/concepts/transports-in-waku",
"Concepts/content-topics", "main/concepts/content-topics",
"Concepts/security-features", "main/concepts/security-features",
"Concepts/research-in-progress", "main/concepts/research-in-progress",
"Concepts/waku-vs-libp2p", "main/concepts/waku-vs-libp2p",
], ],
}, },
], ],
browser: [
"browser/introduction"
]
}; };
module.exports = sidebars; module.exports = sidebars;