docs: Rust docs

This commit is contained in:
ZiuChen
2024-04-06 17:36:23 +08:00
parent a89c4a8d31
commit a606ebce69
6 changed files with 1228 additions and 9 deletions

View File

@@ -9,7 +9,11 @@ export default defineConfig({
lastUpdated: true,
head: [['link', { rel: 'icon', href: '/logo.png' }]],
markdown: {
lineNumbers: true
lineNumbers: true,
math: true,
image: {
lazyLoading: true
}
},
themeConfig: {
logo: '/logo.png',
@@ -46,11 +50,6 @@ export default defineConfig({
text: '文章归档',
collapsed: true,
items: [...indexArticleSidebar()]
},
{
text: '学习笔记',
collapsed: true,
items: notes
}
],
socialLinks: [