init repo
This commit is contained in:
21
rspress.config.ts
Normal file
21
rspress.config.ts
Normal 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',
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user