1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

将 nav 和 sidebar 配置独立出来形成单独文件

This commit is contained in:
2025-02-20 22:42:46 +08:00
parent ea5497c43c
commit ec9656071f
3 changed files with 21 additions and 13 deletions

11
docs/sidebar.mts Normal file
View File

@@ -0,0 +1,11 @@
import { DefaultTheme } from 'vitepress'
export const sidebar: DefaultTheme.Sidebar = [
{
text: 'Examples',
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
]