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: {
|
|
|
|
defaultLocale: "en",
|
|
|
|
locales: ["en"],
|
|
|
|
},
|
|
|
|
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: {
|
|
|
|
docs: {
|
|
|
|
sidebar: {
|
|
|
|
hideable: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
navbar: {
|
|
|
|
hideOnScroll: true,
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
type: "search",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "docSidebar",
|
|
|
|
position: "left",
|
|
|
|
sidebarId: "main",
|
|
|
|
label: "About Waku",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "dropdown",
|
|
|
|
label: "Guides",
|
|
|
|
position: "right",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "Nodes and SDKs",
|
|
|
|
to: "/guides/nodes-and-sdks",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "Run a Nwaku Node",
|
|
|
|
to: "/guides/run-nwaku-node",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
to: "/powered-by-waku",
|
|
|
|
label: "Powered by Waku",
|
|
|
|
position: "left",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: "dropdown",
|
|
|
|
label: "Community",
|
|
|
|
position: "right",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "Join Our Community",
|
|
|
|
to: "/community",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "Contribute to Waku",
|
|
|
|
to: "/contribute",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "Watch Our Presentations",
|
|
|
|
to: "/presentations",
|
|
|
|
},
|
2023-06-20 11:41:55 +00:00
|
|
|
{
|
|
|
|
label: "Waku Bounties",
|
|
|
|
to: "https://github.com/waku-org/bounties",
|
|
|
|
},
|
2023-06-09 11:51:09 +00:00
|
|
|
{
|
|
|
|
label: "Bug Bounty Program",
|
|
|
|
to: "https://hackenproof.com/status-dot-im/waku",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://github.com/waku-org",
|
|
|
|
position: "right",
|
|
|
|
className: "header-github-link",
|
|
|
|
title: "Waku GitHub repository",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: "Guides",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
to: "/guides/nodes-and-sdks",
|
|
|
|
label: "Nodes and SDKs",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
to: "/guides/run-nwaku-node",
|
|
|
|
label: "Run a Nwaku Node",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Community",
|
|
|
|
items: [
|
|
|
|
{
|
2023-07-04 12:33:22 +00:00
|
|
|
href: "https://discord.waku.org",
|
2023-06-09 11:51:09 +00:00
|
|
|
label: "Discord",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://twitter.com/waku_org",
|
|
|
|
label: "Twitter",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://t.me/waku_org",
|
|
|
|
label: "Telegram",
|
|
|
|
},
|
|
|
|
{
|
2023-07-04 12:33:22 +00:00
|
|
|
href: "https://forum.vac.dev",
|
2023-06-09 11:51:09 +00:00
|
|
|
label: "Vac Forum",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Resources",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: "https://github.com/waku-org",
|
|
|
|
label: "GitHub",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
href: "https://vac.dev/research",
|
|
|
|
label: "Blog",
|
|
|
|
},
|
|
|
|
{
|
2023-07-04 12:33:22 +00:00
|
|
|
href: "https://rfc.vac.dev",
|
2023-06-09 11:51:09 +00:00
|
|
|
label: "Vac RFCs",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: "Legal",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
href: "/terms",
|
|
|
|
label: "Terms & Conditions",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
markdown: {
|
|
|
|
mermaid: true,
|
|
|
|
},
|
2022-08-04 11:42:53 +00:00
|
|
|
};
|
|
|
|
|
2023-06-02 18:43:36 +00:00
|
|
|
module.exports = config;
|