feat: 构建文档基础框架
This commit is contained in:
15
docs/nav.mts
15
docs/nav.mts
@@ -1,6 +1,17 @@
|
||||
import { DefaultTheme } from 'vitepress'
|
||||
|
||||
export const nav: DefaultTheme.NavItem[] = [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Examples', link: '/markdown-examples' }
|
||||
{
|
||||
text: 'Home',
|
||||
link: '/',
|
||||
},
|
||||
{
|
||||
text: 'Home2',
|
||||
link: '/how-to/index',
|
||||
activeMatch: '/how-to/',
|
||||
},
|
||||
{
|
||||
text: 'Examples',
|
||||
link: '/markdown-examples',
|
||||
},
|
||||
]
|
Reference in New Issue
Block a user