将 nav 和 sidebar 配置独立出来形成单独文件
This commit is contained in:
6
docs/nav.mts
Normal file
6
docs/nav.mts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { DefaultTheme } from 'vitepress'
|
||||
|
||||
export const nav: DefaultTheme.NavItem[] = [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Examples', link: '/markdown-examples' }
|
||||
]
|
Reference in New Issue
Block a user