mirror of
https://github.com/semaphore-protocol/semaphore.git
synced 2026-01-10 23:28:17 -05:00
127 lines
3.2 KiB
JavaScript
127 lines
3.2 KiB
JavaScript
module.exports = {
|
|
title: "Semaphore",
|
|
tagline: "Documentation and Guides",
|
|
url: "https://semaphore.appliedzkp.org/",
|
|
baseUrl: "/",
|
|
favicon: "/img/favicon.ico",
|
|
onBrokenLinks: "throw",
|
|
onBrokenMarkdownLinks: "warn",
|
|
organizationName: "appliedzkp",
|
|
projectName: "semaphore",
|
|
trailingSlash: false,
|
|
|
|
presets: [
|
|
[
|
|
"@docusaurus/preset-classic",
|
|
{
|
|
docs: {
|
|
path: "docs",
|
|
routeBasePath: "docs/",
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
|
editUrl: "https://github.com/appliedzkp/semaphore/edit/main/",
|
|
includeCurrentVersion: false
|
|
},
|
|
theme: {
|
|
customCss: require.resolve("./src/css/custom.css"),
|
|
customCss2: require.resolve("./src/css/colors.css")
|
|
}
|
|
}
|
|
]
|
|
],
|
|
|
|
themeConfig: {
|
|
prism: {
|
|
additionalLanguages: ["solidity"]
|
|
},
|
|
navbar: {
|
|
title: "Semaphore",
|
|
logo: {
|
|
alt: "Semaphore Icon",
|
|
src: "img/semaphore-icon.svg"
|
|
},
|
|
items: [
|
|
{
|
|
type: "docsVersionDropdown",
|
|
position: "left",
|
|
dropdownActiveClassDisabled: true,
|
|
docsPluginId: "default",
|
|
className: "persistent"
|
|
},
|
|
{
|
|
label: "Whitepaper",
|
|
to: "https://semaphore.appliedzkp.org/whitepaper-v1.pdf",
|
|
position: "right",
|
|
className: "V1_active"
|
|
},
|
|
{
|
|
label: "GitHub",
|
|
href: "https://github.com/appliedzkp/semaphore",
|
|
position: "right",
|
|
className: "persistent"
|
|
}
|
|
]
|
|
},
|
|
footer: {
|
|
links: [
|
|
{
|
|
title: "PSE Team",
|
|
items: [
|
|
{
|
|
label: "Github",
|
|
href: "https://github.com/appliedzkp"
|
|
},
|
|
{
|
|
label: "Medium",
|
|
href: "https://medium.com/privacy-scaling-explorations"
|
|
},
|
|
{
|
|
label: "Twitter",
|
|
href: "https://twitter.com/PrivacyScaling"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: "Community",
|
|
items: [
|
|
{
|
|
label: "Github",
|
|
href: "https://github.com/appliedzkp/semaphore"
|
|
},
|
|
{
|
|
label: "Telegram",
|
|
href: "https://t.me/joinchat/B-PQx1U3GtAh--Z4Fwo56A"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: "More",
|
|
items: [
|
|
{
|
|
label: "ZK-kit",
|
|
href: "https://github.com/appliedzkp/zk-kit"
|
|
},
|
|
{
|
|
label: "Interep",
|
|
href: "https://github.com/interep-project"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
colorMode: {
|
|
defaultMode: "dark",
|
|
// Should we use the prefers-color-scheme media-query,
|
|
// using user system preferences, instead of the hardcoded defaultMode
|
|
respectPrefersColorScheme: true,
|
|
// Dark/light switch icon options
|
|
switchConfig: {
|
|
// Icon for the switch while in dark mode
|
|
darkIcon: "\u{263D}",
|
|
// Unicode icons such as '\u2600' will work
|
|
// Unicode with 5 chars require brackets: '\u{1F602}'
|
|
lightIcon: "\u{263C}"
|
|
}
|
|
}
|
|
}
|
|
}
|