hide last update author

This commit is contained in:
Hossein Mehrabi 2023-06-09 15:21:09 +03:30 committed by fryorcraken.eth
parent d4d3c81e53
commit 9899002fa2
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4

View File

@ -15,48 +15,49 @@ const config = {
// to replace "en" with "zh-Hans". // to replace "en" with "zh-Hans".
i18n: { i18n: {
defaultLocale: "en", defaultLocale: "en",
locales: ["en"] locales: ["en"],
}, },
presets: [ presets: [
[ [
"@acid-info/logos-docusaurus-preset", "@acid-info/logos-docusaurus-preset",
({ {
businessUnit: "Waku", businessUnit: "Waku",
customSiteConfig: true, customSiteConfig: true,
docs: { docs: {
routeBasePath: "/", routeBasePath: "/",
path: "docs",
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/waku-org/waku.guide/tree/develop/", editUrl: "https://github.com/waku-org/waku.guide/tree/develop/",
showLastUpdateAuthor: true, showLastUpdateAuthor: false,
showLastUpdateTime: true, showLastUpdateTime: true,
}, },
theme: { theme: {
name: "default", name: "default",
options: { options: {
customCss: [require.resolve("./src/css/custom.scss")] customCss: [require.resolve("./src/css/custom.scss")],
} },
} },
}) },
] ],
], ],
staticDirectories: ["static"], staticDirectories: ["static"],
themeConfig: ({ themeConfig: {
docs: { docs: {
sidebar: { sidebar: {
hideable: false hideable: false,
} },
}, },
navbar: { navbar: {
hideOnScroll: true, hideOnScroll: true,
items: [ items: [
{ {
type: 'search' type: "search",
}, },
{ {
type: "docSidebar", type: "docSidebar",
position: "left", position: "left",
sidebarId: "main", sidebarId: "main",
label: "About Waku" label: "About Waku",
}, },
{ {
type: "dropdown", type: "dropdown",
@ -65,18 +66,18 @@ const config = {
items: [ items: [
{ {
label: "Nodes and SDKs", label: "Nodes and SDKs",
to: "/guides/nodes-and-sdks" to: "/guides/nodes-and-sdks",
}, },
{ {
label: "Run a Nwaku Node", label: "Run a Nwaku Node",
to: "guides/run-nwaku-node" to: "/guides/run-nwaku-node",
} },
] ],
}, },
{ {
to: "/powered-by-waku", to: "/powered-by-waku",
label: "Powered by Waku", label: "Powered by Waku",
position: "left" position: "left",
}, },
{ {
type: "dropdown", type: "dropdown",
@ -85,29 +86,29 @@ const config = {
items: [ items: [
{ {
label: "Join Our Community", label: "Join Our Community",
to: "/community" to: "/community",
}, },
{ {
label: "Contribute to Waku", label: "Contribute to Waku",
to: "/contribute" to: "/contribute",
}, },
{ {
label: "Watch Our Presentations", label: "Watch Our Presentations",
to: "/presentations" to: "/presentations",
}, },
{ {
label: "Bug Bounty Program", label: "Bug Bounty Program",
href: "https://hackenproof.com/status-dot-im/waku" to: "https://hackenproof.com/status-dot-im/waku",
} },
] ],
}, },
{ {
href: "https://github.com/waku-org", href: "https://github.com/waku-org",
position: "right", position: "right",
className: "header-github-link", className: "header-github-link",
title: "Waku GitHub repository" title: "Waku GitHub repository",
}, },
] ],
}, },
footer: { footer: {
links: [ links: [
@ -116,77 +117,68 @@ const config = {
items: [ items: [
{ {
to: "/guides/nodes-and-sdks", to: "/guides/nodes-and-sdks",
label: "Nodes and SDKs" label: "Nodes and SDKs",
}, },
{ {
to: "/guides/run-nwaku-node",
label: "Run a Nwaku Node", label: "Run a Nwaku Node",
to: "guides/run-nwaku-node" },
} ],
]
}, },
{ {
title: "Community", title: "Community",
items: [ items: [
{ {
href: "https://discord.waku.org/", href: "https://discord.waku.org/",
label: "Discord" label: "Discord",
}, },
{ {
href: "https://twitter.com/waku_org", href: "https://twitter.com/waku_org",
label: "Twitter" label: "Twitter",
}, },
{ {
href: "https://t.me/waku_org", href: "https://t.me/waku_org",
label: "Telegram" label: "Telegram",
}, },
{ {
href: "https://forum.vac.dev/", href: "https://forum.vac.dev/",
label: "Vac Forum" label: "Vac Forum",
} },
] ],
}, },
{ {
title: "Resources", title: "Resources",
items: [ items: [
{ {
href: "https://github.com/waku-org", href: "https://github.com/waku-org",
label: "GitHub" label: "GitHub",
}, },
{ {
href: "https://vac.dev/research", href: "https://vac.dev/research",
label: "Blog" label: "Blog",
}, },
{ {
href: "https://rfc.vac.dev/", href: "https://rfc.vac.dev/",
label: "Vac RFCs" label: "Vac RFCs",
} },
] ],
}, },
{ {
title: "Legal", title: "Legal",
items: [ items: [
{ {
href: "https://waku.org/terms-of-use", href: "/terms",
label: "Terms of Use" label: "Terms & Conditions",
},
],
},
],
}, },
{
href: "https://waku.org/privacy-policy",
label: "Privacy Policy"
}
]
}
]
}, },
// colorMode: {
// defaultMode: "dark",
// disableSwitch: false,
// respectPrefersColorScheme: false
// }
}),
themes: ["@docusaurus/theme-mermaid"], themes: ["@docusaurus/theme-mermaid"],
markdown: { markdown: {
mermaid: true mermaid: true,
} },
}; };
module.exports = config; module.exports = config;