waku.org/docusaurus.config.js

210 lines
4.8 KiB
JavaScript
Raw Permalink Normal View History

// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
require('dotenv').config()
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Waku',
2024-04-23 16:59:04 +00:00
url: 'https://waku.org',
baseUrl: '/',
markdown: {
mermaid: true,
},
// 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',
/** @type {import('@acid-info/logos-docusaurus-preset').PluginOptions} */
({
businessUnit: 'Waku',
theme: {
name: 'default',
options: {
customCss: [require.resolve('./src/css/custom.scss')],
2023-06-01 23:11:43 +00:00
docs: {
default: {
sidebar: {
hide: true,
},
},
},
2023-11-17 09:26:22 +00:00
newsletterSubscription: {
mailingListId: 5,
},
},
},
docs: {
2024-03-23 12:49:05 +00:00
id: 'root-pages',
2024-05-14 16:24:54 +00:00
routeBasePath: '/',
2023-06-01 23:11:43 +00:00
path: 'root-pages',
},
2023-11-17 12:03:04 +00:00
generated: {
jobList: {
jobBoard: 'waku',
},
},
2023-07-17 19:16:43 +00:00
og: {},
}),
],
],
2023-06-01 23:11:43 +00:00
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'about',
routeBasePath: '/about',
path: 'about',
},
],
2024-02-13 19:52:29 +00:00
[
'@acid-info/docusaurus-fathom',
{
2024-02-14 11:38:03 +00:00
siteId: 'CWPDQ',
2024-02-14 11:48:36 +00:00
scriptUrl: 'https://fathom.bi.status.im/tracker.js',
2024-02-13 20:46:52 +00:00
hostnames: ['waku.org'],
2024-02-13 19:52:29 +00:00
},
],
2023-06-01 23:11:43 +00:00
],
themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
({
2023-11-28 13:24:24 +00:00
colorMode: {
disableSwitch: false,
respectPrefersColorScheme: true,
},
navbar: {
2023-06-01 23:11:43 +00:00
hideOnScroll: true,
items: [
{
type: 'search',
},
{
2024-04-29 16:34:55 +00:00
label: 'About',
to: '/about',
},
2023-06-02 09:36:45 +00:00
{
2023-09-20 18:10:58 +00:00
label: 'Community',
to: '/community',
2023-06-02 09:36:45 +00:00
},
2023-12-05 12:10:50 +00:00
{
2024-04-29 16:34:55 +00:00
label: 'Join Us',
to: '/join-us',
2023-12-05 12:10:50 +00:00
},
{
2024-04-29 16:34:55 +00:00
label: 'Events',
to: '/events',
},
2023-11-17 12:03:04 +00:00
{
2024-04-29 16:34:55 +00:00
label: 'News',
to: '/news',
},
{
label: 'Blog',
href: 'https://blog.waku.org/',
2023-11-17 12:03:04 +00:00
},
2023-07-18 12:08:46 +00:00
{
2024-04-29 16:34:55 +00:00
label: 'Github',
2023-11-03 14:37:23 +00:00
href: 'https://github.com/waku-org',
2023-07-18 12:08:46 +00:00
},
2024-06-05 16:21:48 +00:00
{
href: 'mailto:team@waku.org',
label: 'Contact',
position: 'right',
className:
'lsd-button lsd-button--small lsd-button--outlined navbar-lsd-button',
},
],
},
footer: {
2024-02-05 13:33:40 +00:00
copyright: 'Waku',
links: [
{
items: [
{
href: 'https://twitter.com/waku_org',
label: 'Twitter',
},
{
2023-07-18 12:08:46 +00:00
href: 'https://discord.waku.org/',
label: 'Discord',
},
2024-03-17 19:19:20 +00:00
{
href: 'https://www.youtube.com/@waku-org',
label: 'YouTube',
},
{
href: 'https://www.linkedin.com/company/waku-org',
label: 'LinkedIn',
},
{
href: 'https://warpcast.com/waku',
label: 'Farcaster',
},
{
href: 'https://t.me/waku_org',
label: 'Telegram',
},
],
},
{
items: [
2023-12-05 12:10:50 +00:00
{
2024-04-29 16:34:55 +00:00
href: 'https://docs.waku.org',
label: 'Docs',
2023-12-05 12:10:50 +00:00
},
2024-01-30 16:17:58 +00:00
{
2024-04-29 16:34:55 +00:00
href: 'https://github.com/waku-org',
label: 'GitHub',
2024-01-30 16:17:58 +00:00
},
2024-04-29 16:34:55 +00:00
],
},
{
items: [
{
2024-02-09 04:46:56 +00:00
to: '/join-us',
2024-03-17 19:19:20 +00:00
label: 'Work with Us',
},
{
href: 'https://guide.waku.org/',
label: 'Brand Guidelines',
},
2024-03-12 02:24:14 +00:00
],
},
{
items: [
{
2023-06-01 23:11:43 +00:00
href: '/terms',
2024-03-17 19:19:20 +00:00
label: 'Terms of Use',
},
2024-01-12 06:13:13 +00:00
{
href: '/privacy-policy',
label: 'Privacy Policy',
},
2024-03-12 02:24:14 +00:00
{
href: '/rules-of-engagement',
label: 'Rules of Engagement',
},
2024-05-16 13:24:13 +00:00
{
href: '/security',
label: 'Security',
},
],
},
],
},
}),
}
module.exports = config