use 4 space

This commit is contained in:
shenjack 2023-12-31 03:20:20 +08:00
parent ad3036a563
commit 3f3eca444d
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -2,23 +2,25 @@ 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',
]
}
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' },
],
lastUpdated: true,
lastUpdatedText: "最后更新时间",
},
markdown: {
highlightLanguages: [
['py', 'python'],
'python',
['cfg', 'ini'],
'toml',
]
}
});