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: {
routeBasePath: "/",
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/",
},
theme: {
@ -49,9 +47,16 @@ const config = {
title: "Waku",
items: [
{
label: "Docs",
type: "doc",
docId: "introduction",
type: 'docSidebar',
position: 'left',
sidebarId: 'main',
label: 'Overview',
},
{
type: 'docSidebar',
position: 'left',
sidebarId: 'browser',
label: 'JavaScript (Browser)',
},
],
},
@ -60,22 +65,22 @@ const config = {
{
title: "Community",
items: [
{
href: "https://stackoverflow.com/questions/tagged/docusaurus",
label: "Stack Overflow",
},
{
href: "https://forum.vac.dev/",
label: "Discourse",
},
{
href: "https://discord.gg/j5pGbn7MHZ",
label: "Twitter",
href: "https://discord.gg/Nrac59MfSX",
label: "Discord",
},
{
href: "https://twitter.com/waku_org",
label: "Twitter",
},
{
href: "https://t.me/waku_org",
label: "Telegram",
},
],
},
],

View File

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