docs/docusaurus.config.js

213 lines
4.7 KiB
JavaScript
Raw Permalink Normal View History

import {themes as prismThemes} from 'prism-react-renderer';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';
2023-08-31 13:30:05 +02:00
const config = {
title: "Lethean Docs",
tagline: "Blockchain privacy for mass adoption",
favicon: "img/favicon.ico",
2023-08-31 13:30:05 +02:00
url: "https://docs.lethean.io",
baseUrl: "/",
2023-08-31 13:30:05 +02:00
onBrokenLinks: "warn",
markdown: {
hooks: {
onBrokenMarkdownLinks: "warn",
onBrokenMarkdownImages: "warn",
},
},
2023-08-31 13:30:05 +02:00
i18n: {
defaultLocale: "en",
locales: ["en"],
2023-08-31 13:30:05 +02:00
},
presets: [
[
"classic",
{
2023-08-31 13:30:05 +02:00
docs: {
sidebarPath: './sidebars.js',
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
2023-08-31 13:30:05 +02:00
},
theme: {
customCss: './src/css/custom.css',
2023-08-31 13:30:05 +02:00
},
},
2023-08-31 13:30:05 +02:00
],
],
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",
2023-08-31 13:30:05 +02:00
},
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",
},
2025-07-07 15:13:30 +04:00
{
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",
},
2025-07-07 15:13:30 +04:00
{
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,
},
2023-11-20 13:26:21 +01:00
algolia: {
appId: 'GZR5BV1JNU',
apiKey: 'aa52f5e09870e3882638cccd64c79ad0',
indexName: 'lethean',
2023-11-20 13:26:21 +01:00
}
},
2023-08-31 13:30:05 +02:00
};
export default config;