import {themes as prismThemes} from 'prism-react-renderer'; import remarkMath from 'remark-math'; import rehypeKatex from 'rehype-katex'; const config = { title: "Lethean Docs", tagline: "Blockchain privacy for mass adoption", favicon: "img/favicon.ico", url: "https://docs.lethean.io", baseUrl: "/", onBrokenLinks: "warn", markdown: { hooks: { onBrokenMarkdownLinks: "warn", onBrokenMarkdownImages: "warn", }, }, i18n: { defaultLocale: "en", locales: ["en"], }, presets: [ [ "classic", { docs: { sidebarPath: './sidebars.js', remarkPlugins: [remarkMath], rehypePlugins: [rehypeKatex], }, theme: { customCss: './src/css/custom.css', }, }, ], ], stylesheets: [ { href: "https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css", type: "text/css", integrity: "sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM", crossorigin: "anonymous", }, ], themeConfig: { image: "img/lethean_dev_meta.png", navbar: { title: "Lethean Docs", logo: { alt: "Lethean Logo", src: "img/logo_lethean.svg", }, items: [ { type: "docSidebar", sidebarId: "learnSidebar", position: "left", label: "Learn", }, { type: "docSidebar", sidebarId: "useSidebar", position: "left", label: "Use", }, { type: "docSidebar", sidebarId: "buildSidebar", position: "left", label: "Build", }, { type: "docSidebar", sidebarId: "mineSidebar", position: "left", label: "Mine", }, { type: "docSidebar", sidebarId: "stakeSidebar", position: "left", label: "Stake", }, { type: "docSidebar", sidebarId: "codeSidebar", position: "left", label: "Code", }, { href: "https://github.com/lethean-io", label: "GitHub", position: "right", }, ], }, footer: { style: "dark", links: [ { title: "Docs", items: [ { label: "Learn", to: "/docs/learn/what-is-lethean", }, { label: "Use", to: "/docs/use/overview", }, { label: "Build", to: "/docs/build/overview", }, { label: "Mine", to: "/docs/mine/overview", }, { label: "Stake", to: "/docs/stake/overview", }, { label: "Code", to: "/docs/code/overview", }, ], }, { title: "Lethean", items: [ { label: "Homepage", to: "https://lethean.org", }, { label: "Downloads", to: "https://lethean.org/downloads", }, { label: "Blog", to: "https://blog.lethean.org", }, { label: "Wrapped Lethean", to: "https://wrapped.lethean.org", }, ], }, { title: "Resources", items: [ { label: "Explorer", to: "https://explorer.lethean.io", }, { label: "Github", to: "https://github.com/lethean-io", }, ], }, { title: "Community", items: [ { label: "Discord", to: "https://discord.gg/wE3rmYY", }, { label: "Twitter", to: "https://twitter.com/lethean_project", }, { label: "Telegram", to: "https://t.me/letheancoin", }, { label: "Youtube", to: "https://www.youtube.com/@letheanproject", }, { label: "Reddit", to: "https://www.reddit.com/r/Lethean", }, ], }, ], copyright: `Copyright © ${new Date().getFullYear()} Lethean.org`, }, prism: { theme: prismThemes.github, darkTheme: prismThemes.dracula, }, algolia: { appId: 'GZR5BV1JNU', apiKey: 'aa52f5e09870e3882638cccd64c79ad0', indexName: 'lethean', } }, }; export default config;