init repo

This commit is contained in:
Sun-ZhenXing
2025-12-18 23:28:42 +08:00
commit 9b1173edaa
16 changed files with 5366 additions and 0 deletions

21
rspress.config.ts Normal file
View File

@@ -0,0 +1,21 @@
import * as path from 'node:path';
import { defineConfig } from 'rspress/config';
export default defineConfig({
root: path.join(__dirname, 'docs'),
title: 'My Site',
icon: '/rspress-icon.png',
logo: {
light: '/rspress-light-logo.png',
dark: '/rspress-dark-logo.png',
},
themeConfig: {
socialLinks: [
{
icon: 'github',
mode: 'link',
content: 'https://github.com/web-infra-dev/rspress',
},
],
},
});