DR-docs/rspress.config.ts

25 lines
663 B
TypeScript
Raw Normal View History

2023-12-16 23:40:38 +08:00
import * as path from 'path';
import { defineConfig } from 'rspress/config';
export default defineConfig({
root: path.join(__dirname, 'docs'),
title: 'Difficult-Rocket-docs',
description: 'Diffuclt Rocket 的文档',
icon: "/icon.png",
logo: "/icon.png",
themeConfig: {
socialLinks: [
{ icon: 'github', mode: 'link', content: 'https://github.com/shenjackyuanjie/DR-docs' },
{ icon: 'github', mode: 'link', content: 'https://github.com/shenjackyuanjie/Difficult-Rocket' },
],
},
markdown: {
highlightLanguages: [
['py', 'python'],
'python',
['cfg', 'ini'],
'toml',
]
}
});