Files
homepage/rspress.config.ts
T

45 lines
922 B
TypeScript
Raw Normal View History

2026-05-19 21:45:20 -05:00
import * as path from "node:path"
import { defineConfig } from "@rspress/core"
export default defineConfig({
root: path.join(__dirname, "docs"),
title: "OnixByte",
icon: "/onixbyte-icon.svg",
2026-05-19 21:45:20 -05:00
logo: {
light: "/onixbyte-light-logo.svg",
dark: "/onixbyte-dark-logo.svg",
2026-05-19 21:45:20 -05:00
},
themeConfig: {
socialLinks: [
{
2026-06-08 16:25:06 +08:00
icon: "github",
2026-05-19 21:45:20 -05:00
mode: "link",
2026-06-08 16:25:06 +08:00
content: "https://git.onixbyte.com/onixbyte/homepage",
},
{
icon: "x",
mode: "link",
content: "https://x.com/onixbyte",
2026-05-19 21:45:20 -05:00
},
],
},
markdown: {
showLineNumbers: true,
},
2026-05-19 21:45:20 -05:00
lang: "en-gb",
locales: [
{
lang: "en-gb",
label: "English (Great Britain)",
title: "OnixByte",
description: "OnixByte Official",
},
{
lang: "zh-hans",
label: "简体中文",
title: "OnixByte",
description: "OnixByte 官方站点",
},
],
})