init repo

This commit is contained in:
Sun-ZhenXing
2026-03-30 16:34:04 +08:00
commit d85ab53114
16 changed files with 2622 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import * as path from 'node:path';
import { defineConfig } from '@rspress/core';
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',
},
],
},
});