feat: implement pages

This commit is contained in:
siujamo
2026-05-19 21:45:20 -05:00
commit 2c17c927fc
30 changed files with 3479 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
import * as path from "node:path"
import { defineConfig } from "@rspress/core"
export default defineConfig({
root: path.join(__dirname, "docs"),
title: "OnixByte",
icon: "/rspress-icon.png",
logo: {
light: "/rspress-light-logo.png",
dark: "/rspress-dark-logo.png",
},
themeConfig: {
socialLinks: [
{
icon: "gitlab",
mode: "link",
content: "https://git.onixbyte.cn/onixbyte/homepage",
},
],
},
lang: "en-gb",
locales: [
{
lang: "en-gb",
label: "English (Great Britain)",
title: "OnixByte",
description: "OnixByte Official",
},
{
lang: "zh-hans",
label: "简体中文",
title: "OnixByte",
description: "OnixByte 官方站点",
},
],
})