2022-08-04 11:42:53 +00:00
|
|
|
// @ts-check
|
|
|
|
// Note: type annotations allow type checking and IDEs autocompletion
|
2023-01-23 09:37:39 +00:00
|
|
|
require("dotenv").config();
|
2022-08-04 11:42:53 +00:00
|
|
|
|
2023-05-19 23:35:51 +00:00
|
|
|
/** @type {import("@docusaurus/types").Config} */
|
2022-08-04 11:42:53 +00:00
|
|
|
const config = {
|
2023-06-14 00:26:55 +00:00
|
|
|
title: "Waku Documentation",
|
|
|
|
url: "https://docs.waku.org/",
|
2023-06-09 11:51:09 +00:00
|
|
|
baseUrl: "/",
|
|
|
|
onBrokenLinks: "throw",
|
|
|
|
onBrokenMarkdownLinks: "warn",
|
2022-08-04 11:42:53 +00:00
|
|
|
|
2023-06-09 11:51:09 +00:00
|
|
|
// Even if you don't use internalization, you can use this field to set useful
|
|
|
|
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
|
|
// to replace "en" with "zh-Hans".
|
|
|
|
i18n: {
|
2023-08-01 19:39:04 +00:00
|
|
|
defaultLocale: "en-GB",
|
|
|
|
locales: ["en-GB"],
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
"@acid-info/logos-docusaurus-preset",
|
|
|
|
{
|
|
|
|
businessUnit: "Waku",
|
|
|
|
customSiteConfig: true,
|
|
|
|
docs: {
|
|
|
|
routeBasePath: "/",
|
|
|
|
path: "docs",
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2023-06-14 00:26:55 +00:00
|
|
|
editUrl: "https://github.com/waku-org/docs.waku.org/tree/develop/",
|
2023-06-09 11:51:09 +00:00
|
|
|
showLastUpdateTime: true,
|
2023-06-14 00:26:55 +00:00
|
|
|
breadcrumbs: false,
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
name: "default",
|
|
|
|
options: {
|
|
|
|
customCss: [require.resolve("./src/css/custom.scss")],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
|
|
|
staticDirectories: ["static"],
|
2023-06-28 10:17:07 +00:00
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
"@acid-info/docusaurus-fathom",
|
|
|
|
{
|
|
|
|
siteId: "FUTMI",
|
|
|
|
scriptUrl: "https://fathom.status.im/tracker.js",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2023-06-09 11:51:09 +00:00
|
|
|
themeConfig: {
|
2023-11-28 13:49:48 +00:00
|
|
|
colorMode: {
|
|
|
|
disableSwitch: false,
|
|
|
|
respectPrefersColorScheme: true,
|
|
|
|
},
|
2023-06-09 11:51:09 +00:00
|
|
|
docs: {
|
|
|
|
sidebar: {
|
|
|
|
hideable: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
navbar: {
|
|
|
|
hideOnScroll: true,
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: "search",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "docSidebar",
|
|
|
|
position: "left",
|
2023-11-23 11:01:32 +00:00
|
|
|
sidebarId: "guides",
|
|
|
|
label: "Guides",
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
2023-07-11 20:37:52 +00:00
|
|
|
{
|
2023-11-23 11:01:32 +00:00
|
|
|
type: "docSidebar",
|
2023-07-11 20:37:52 +00:00
|
|
|
position: "left",
|
2023-11-23 11:01:32 +00:00
|
|
|
sidebarId: "learn",
|
|
|
|
label: "Learn",
|
2023-07-11 20:37:52 +00:00
|
|
|
},
|
2024-02-15 13:38:16 +00:00
|
|
|
{
|
|
|
|
type: "docSidebar",
|
|
|
|
position: "left",
|
|
|
|
sidebarId: "research",
|
|
|
|
label: "Research",
|
|
|
|
},
|
2023-07-11 20:37:52 +00:00
|
|
|
{
|
2023-11-23 11:01:32 +00:00
|
|
|
href: "https://discord.waku.org",
|
2023-07-11 20:37:52 +00:00
|
|
|
position: "left",
|
2023-11-23 11:01:32 +00:00
|
|
|
label: "Discord",
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://github.com/waku-org",
|
|
|
|
position: "right",
|
|
|
|
className: "header-github-link",
|
|
|
|
title: "Waku GitHub repository",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
2024-05-17 14:18:21 +00:00
|
|
|
copyright: "Waku",
|
2023-06-09 11:51:09 +00:00
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: "Guides",
|
|
|
|
items: [
|
|
|
|
{
|
2024-05-16 17:22:15 +00:00
|
|
|
to: "/guides/nwaku/run-docker-compose",
|
2023-06-09 11:51:09 +00:00
|
|
|
label: "Run a Nwaku Node",
|
|
|
|
},
|
2023-07-11 17:52:38 +00:00
|
|
|
{
|
|
|
|
to: "/guides/js-waku/",
|
|
|
|
label: "JavaScript Waku SDK",
|
|
|
|
},
|
2023-06-09 11:51:09 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Community",
|
|
|
|
items: [
|
2024-06-05 20:43:48 +00:00
|
|
|
{
|
|
|
|
href: "https://twitter.com/waku_org/",
|
|
|
|
label: "X",
|
|
|
|
},
|
2023-06-09 11:51:09 +00:00
|
|
|
{
|
2023-11-23 11:01:32 +00:00
|
|
|
href: "https://discord.waku.org/",
|
2023-06-09 11:51:09 +00:00
|
|
|
label: "Discord",
|
|
|
|
},
|
|
|
|
{
|
2024-06-05 20:43:48 +00:00
|
|
|
href: "https://github.com/waku-org/",
|
|
|
|
label: "GitHub",
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
|
|
|
{
|
2024-06-05 20:43:48 +00:00
|
|
|
href: "https://www.youtube.com/@wakuorg",
|
|
|
|
label: "YouTube",
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
|
|
|
{
|
2024-06-05 20:43:48 +00:00
|
|
|
href: "https://www.linkedin.com/company/waku-org",
|
|
|
|
label: "LinkedIn",
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
2023-11-23 11:01:32 +00:00
|
|
|
{
|
2024-06-05 20:43:48 +00:00
|
|
|
href: "https://warpcast.com/waku",
|
|
|
|
label: "Farcaster",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://t.me/waku_org/",
|
|
|
|
label: "Telegram",
|
2023-11-23 11:01:32 +00:00
|
|
|
},
|
2023-06-09 11:51:09 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Resources",
|
|
|
|
items: [
|
|
|
|
{
|
2023-11-23 11:01:32 +00:00
|
|
|
href: "https://blog.waku.org/",
|
2023-06-09 11:51:09 +00:00
|
|
|
label: "Blog",
|
|
|
|
},
|
|
|
|
{
|
2024-05-16 17:22:15 +00:00
|
|
|
href: "https://rfc.vac.dev/waku",
|
|
|
|
label: "Waku RFCs",
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
2024-06-05 20:43:48 +00:00
|
|
|
{
|
|
|
|
href: "https://github.com/waku-org/bounties/",
|
|
|
|
label: "Bounties",
|
|
|
|
},
|
2024-01-11 09:42:56 +00:00
|
|
|
{
|
|
|
|
href: "https://github.com/waku-org/awesome-waku/",
|
|
|
|
label: "Awesome Waku",
|
|
|
|
},
|
2023-06-09 11:51:09 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Legal",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: "/terms",
|
2023-11-23 11:01:32 +00:00
|
|
|
label: "Terms of Use",
|
2023-06-09 11:51:09 +00:00
|
|
|
},
|
2024-02-02 12:55:42 +00:00
|
|
|
{
|
2024-05-16 17:22:15 +00:00
|
|
|
href: "/privacy-policy",
|
|
|
|
label: "Privacy Policy",
|
2024-02-02 12:55:42 +00:00
|
|
|
},
|
2024-03-08 04:01:03 +00:00
|
|
|
{
|
2024-05-16 17:22:15 +00:00
|
|
|
href: "/rules-of-engagement",
|
|
|
|
label: "Rules of Engagement",
|
2024-03-08 04:01:03 +00:00
|
|
|
},
|
2024-05-17 14:18:21 +00:00
|
|
|
{
|
|
|
|
href: "/security",
|
|
|
|
label: "Security",
|
|
|
|
},
|
2023-06-09 11:51:09 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
markdown: {
|
|
|
|
mermaid: true,
|
|
|
|
},
|
2022-08-04 11:42:53 +00:00
|
|
|
};
|
|
|
|
|
2023-06-02 18:43:36 +00:00
|
|
|
module.exports = config;
|