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