Files
homepage/rspress.config.ts
T
siujamo da26fde07e docs: translate gitlab-ops to en-gb, enhance gravatar article, fix heading levels
- Translate GitLab Operations article from Chinese to British English
- Add comprehensive Gravatar usage guide with code examples in both locales
- Fix heading levels on notification pages (h1 -> h2)
- Enable line numbers in code blocks via rspress config
2026-05-20 01:50:59 -05:00

40 lines
816 B
TypeScript

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",
},
],
},
markdown: {
showLineNumbers: true
},
lang: "en-gb",
locales: [
{
lang: "en-gb",
label: "English (Great Britain)",
title: "OnixByte",
description: "OnixByte Official",
},
{
lang: "zh-hans",
label: "简体中文",
title: "OnixByte",
description: "OnixByte 官方站点",
},
],
})