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

@ -4,189 +4,181 @@ require("dotenv").config();
/** @type {import("@docusaurus/types").Config} */ /** @type {import("@docusaurus/types").Config} */
const config = { const config = {
title: "Waku Docs Portal", title: "Waku Docs Portal",
url: "https://waku.guide/", url: "https://waku.guide/",
baseUrl: "/", baseUrl: "/",
onBrokenLinks: "throw", onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn", onBrokenMarkdownLinks: "warn",
// Even if you don't use internalization, you can use this field to set useful // 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 // metadata like html lang. For example, if your site is Chinese, you may want
// 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: "/",
sidebarPath: require.resolve("./sidebars.js"), path: "docs",
editUrl: "https://github.com/waku-org/waku.guide/tree/develop/", sidebarPath: require.resolve("./sidebars.js"),
showLastUpdateAuthor: true, editUrl: "https://github.com/waku-org/waku.guide/tree/develop/",
showLastUpdateTime: true, showLastUpdateAuthor: false,
}, showLastUpdateTime: true,
theme: { },
name: "default", theme: {
options: { name: "default",
customCss: [require.resolve("./src/css/custom.scss")] options: {
} customCss: [require.resolve("./src/css/custom.scss")],
} },
}) },
] },
], ],
staticDirectories: ["static"], ],
themeConfig: ({ staticDirectories: ["static"],
docs: { themeConfig: {
sidebar: { docs: {
hideable: false sidebar: {
} hideable: false,
}, },
navbar: { },
hideOnScroll: true, navbar: {
items: [ hideOnScroll: true,
{ items: [
type: 'search' {
}, type: "search",
{ },
type: "docSidebar", {
position: "left", type: "docSidebar",
sidebarId: "main", position: "left",
label: "About Waku" sidebarId: "main",
}, label: "About Waku",
{ },
type: "dropdown", {
label: "Guides", type: "dropdown",
position: "right", label: "Guides",
items: [ position: "right",
{ items: [
label: "Nodes and SDKs", {
to: "/guides/nodes-and-sdks" label: "Nodes and SDKs",
}, to: "/guides/nodes-and-sdks",
{ },
label: "Run a Nwaku Node", {
to: "guides/run-nwaku-node" label: "Run a Nwaku Node",
} to: "/guides/run-nwaku-node",
] },
}, ],
{ },
to: "/powered-by-waku", {
label: "Powered by Waku", to: "/powered-by-waku",
position: "left" label: "Powered by Waku",
}, position: "left",
{ },
type: "dropdown", {
label: "Community", type: "dropdown",
position: "right", label: "Community",
items: [ position: "right",
{ items: [
label: "Join Our Community", {
to: "/community" label: "Join Our Community",
}, to: "/community",
{ },
label: "Contribute to Waku", {
to: "/contribute" label: "Contribute to Waku",
}, to: "/contribute",
{ },
label: "Watch Our Presentations", {
to: "/presentations" label: "Watch Our Presentations",
}, to: "/presentations",
{ },
label: "Bug Bounty Program", {
href: "https://hackenproof.com/status-dot-im/waku" label: "Bug Bounty Program",
} to: "https://hackenproof.com/status-dot-im/waku",
] },
}, ],
{ },
href: "https://github.com/waku-org", {
position: "right", href: "https://github.com/waku-org",
className: "header-github-link", position: "right",
title: "Waku GitHub repository" className: "header-github-link",
}, title: "Waku GitHub repository",
] },
}, ],
footer: { },
links: [ footer: {
{ links: [
title: "Guides", {
items: [ title: "Guides",
{ items: [
to: "/guides/nodes-and-sdks", {
label: "Nodes and SDKs" to: "/guides/nodes-and-sdks",
}, label: "Nodes and SDKs",
{ },
label: "Run a Nwaku Node", {
to: "guides/run-nwaku-node" to: "/guides/run-nwaku-node",
} label: "Run a Nwaku Node",
] },
}, ],
{ },
title: "Community", {
items: [ title: "Community",
{ items: [
href: "https://discord.waku.org/", {
label: "Discord" href: "https://discord.waku.org/",
}, label: "Discord",
{ },
href: "https://twitter.com/waku_org", {
label: "Twitter" href: "https://twitter.com/waku_org",
}, label: "Twitter",
{ },
href: "https://t.me/waku_org", {
label: "Telegram" href: "https://t.me/waku_org",
}, label: "Telegram",
{ },
href: "https://forum.vac.dev/", {
label: "Vac Forum" href: "https://forum.vac.dev/",
} label: "Vac Forum",
] },
}, ],
{ },
title: "Resources", {
items: [ title: "Resources",
{ items: [
href: "https://github.com/waku-org", {
label: "GitHub" href: "https://github.com/waku-org",
}, label: "GitHub",
{ },
href: "https://vac.dev/research", {
label: "Blog" href: "https://vac.dev/research",
}, label: "Blog",
{ },
href: "https://rfc.vac.dev/", {
label: "Vac RFCs" href: "https://rfc.vac.dev/",
} label: "Vac RFCs",
] },
}, ],
{ },
title: "Legal", {
items: [ title: "Legal",
{ items: [
href: "https://waku.org/terms-of-use", {
label: "Terms of Use" href: "/terms",
}, label: "Terms & Conditions",
{ },
href: "https://waku.org/privacy-policy", ],
label: "Privacy Policy" },
} ],
] },
} },
] themes: ["@docusaurus/theme-mermaid"],
}, markdown: {
// colorMode: { mermaid: true,
// defaultMode: "dark", },
// disableSwitch: false,
// respectPrefersColorScheme: false
// }
}),
themes: ["@docusaurus/theme-mermaid"],
markdown: {
mermaid: true
}
}; };
module.exports = config; module.exports = config;