2025-11-04 19:55:01 +04:00
|
|
|
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 = {
|
2026-04-01 22:24:13 +01:00
|
|
|
title: "Lethean Docs",
|
2023-08-31 20:20:12 +02:00
|
|
|
tagline: "Blockchain privacy for mass adoption",
|
2023-08-31 18:46:26 +02:00
|
|
|
favicon: "img/favicon.ico",
|
2023-08-31 13:30:05 +02:00
|
|
|
|
2026-04-01 22:24:13 +01:00
|
|
|
url: "https://docs.lethean.io",
|
2023-08-31 18:46:26 +02:00
|
|
|
baseUrl: "/",
|
2023-08-31 13:30:05 +02:00
|
|
|
|
2026-04-01 22:24:13 +01:00
|
|
|
onBrokenLinks: "warn",
|
2025-11-04 19:55:01 +04:00
|
|
|
|
|
|
|
|
markdown: {
|
|
|
|
|
hooks: {
|
|
|
|
|
onBrokenMarkdownLinks: "warn",
|
2026-04-01 22:24:13 +01:00
|
|
|
onBrokenMarkdownImages: "warn",
|
2025-11-04 19:55:01 +04:00
|
|
|
},
|
|
|
|
|
},
|
2023-08-31 13:30:05 +02:00
|
|
|
|
|
|
|
|
i18n: {
|
2023-08-31 18:46:26 +02:00
|
|
|
defaultLocale: "en",
|
|
|
|
|
locales: ["en"],
|
2023-08-31 13:30:05 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
|
[
|
2023-08-31 18:46:26 +02:00
|
|
|
"classic",
|
|
|
|
|
{
|
2023-08-31 13:30:05 +02:00
|
|
|
docs: {
|
2025-11-04 19:55:01 +04:00
|
|
|
sidebarPath: './sidebars.js',
|
|
|
|
|
remarkPlugins: [remarkMath],
|
|
|
|
|
rehypePlugins: [rehypeKatex],
|
2023-08-31 13:30:05 +02:00
|
|
|
},
|
|
|
|
|
theme: {
|
2025-11-04 19:55:01 +04:00
|
|
|
customCss: './src/css/custom.css',
|
2023-08-31 13:30:05 +02:00
|
|
|
},
|
2023-08-31 18:46:26 +02:00
|
|
|
},
|
2023-08-31 13:30:05 +02:00
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
|
2023-09-09 01:00:29 +04: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",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
|
2023-08-31 20:20:12 +02:00
|
|
|
themeConfig: {
|
2026-04-01 22:24:13 +01:00
|
|
|
image: "img/lethean_dev_meta.png",
|
2023-08-31 20:20:12 +02:00
|
|
|
navbar: {
|
2026-04-01 22:24:13 +01:00
|
|
|
title: "Lethean Docs",
|
2023-08-31 20:20:12 +02:00
|
|
|
logo: {
|
2026-04-01 22:24:13 +01:00
|
|
|
alt: "Lethean Logo",
|
|
|
|
|
src: "img/logo_lethean.svg",
|
2023-08-31 13:30:05 +02:00
|
|
|
},
|
2023-08-31 20:20:12 +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",
|
|
|
|
|
},
|
2023-08-31 20:20:12 +02:00
|
|
|
{
|
2026-04-01 22:24:13 +01:00
|
|
|
href: "https://github.com/lethean-io",
|
2023-08-31 20:20:12 +02:00
|
|
|
label: "GitHub",
|
|
|
|
|
position: "right",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
footer: {
|
|
|
|
|
style: "dark",
|
|
|
|
|
links: [
|
|
|
|
|
{
|
|
|
|
|
title: "Docs",
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: "Learn",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "/docs/learn/what-is-lethean",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Use",
|
2023-09-05 15:04:07 +04:00
|
|
|
to: "/docs/use/overview",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Build",
|
2023-09-05 15:04:07 +04:00
|
|
|
to: "/docs/build/overview",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Mine",
|
2023-09-05 15:04:07 +04:00
|
|
|
to: "/docs/mine/overview",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Stake",
|
2025-06-20 19:19:38 +04:00
|
|
|
to: "/docs/stake/overview",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
2025-07-07 15:13:30 +04:00
|
|
|
{
|
|
|
|
|
label: "Code",
|
|
|
|
|
to: "/docs/code/overview",
|
|
|
|
|
},
|
2023-08-31 20:20:12 +02:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-04-01 22:24:13 +01:00
|
|
|
title: "Lethean",
|
2023-08-31 20:20:12 +02:00
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: "Homepage",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://lethean.org",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Downloads",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://lethean.org/downloads",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Blog",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://blog.lethean.org",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
2026-04-01 22:24:13 +01:00
|
|
|
label: "Wrapped Lethean",
|
|
|
|
|
to: "https://wrapped.lethean.org",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "Resources",
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: "Explorer",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://explorer.lethean.io",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Github",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://github.com/lethean-io",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "Community",
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: "Discord",
|
|
|
|
|
to: "https://discord.gg/wE3rmYY",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Twitter",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://twitter.com/lethean_project",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Telegram",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://t.me/letheancoin",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Youtube",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://www.youtube.com/@letheanproject",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
label: "Reddit",
|
2026-04-01 22:24:13 +01:00
|
|
|
to: "https://www.reddit.com/r/Lethean",
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
2026-04-01 22:24:13 +01:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} Lethean.org`,
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
|
|
|
|
prism: {
|
2025-11-04 19:55:01 +04:00
|
|
|
theme: prismThemes.github,
|
|
|
|
|
darkTheme: prismThemes.dracula,
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
2023-11-20 13:26:21 +01:00
|
|
|
algolia: {
|
|
|
|
|
appId: 'GZR5BV1JNU',
|
|
|
|
|
apiKey: 'aa52f5e09870e3882638cccd64c79ad0',
|
2026-04-01 22:24:13 +01:00
|
|
|
indexName: 'lethean',
|
2023-11-20 13:26:21 +01:00
|
|
|
}
|
2023-08-31 20:20:12 +02:00
|
|
|
},
|
2023-08-31 13:30:05 +02:00
|
|
|
};
|
|
|
|
|
|
2025-11-04 19:55:01 +04:00
|
|
|
export default config;
|
2026-04-01 22:24:13 +01:00
|
|
|
|