Skip to content

Commit

Permalink
* docs: change basic docs orders.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Jul 26, 2024
1 parent 155fc4c commit f841464
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/_/.vitepress/theme-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function initSidebars(): Record<string, {text: string, section?: string, items?:
{text: '交互', section: 'interactivity', collapsed: true},
],
'/lib/': [
{text: '基础', section: 'basic', collapsed: false},
{text: '布局', section: 'layout', collapsed: false, hidden: true},
{text: '内容', section: 'content', collapsed: false, hidden: true},
{text: '图标', section: 'icons', collapsed: false},
Expand Down Expand Up @@ -190,6 +191,13 @@ function createSidebar() {
'快速上手': 2,
'教程': 3,
'兼容性': 4,
'CSS 组件': 1,
'组件基类': 2,
'React 组件': 3,
'Cash(jQuery)扩展': 4,
'便捷组件调用': 5,
'便捷事件绑定': 6,
'全局触发调用': 7,
};

Object.keys(sidebars).forEach(key => {
Expand Down

0 comments on commit f841464

Please sign in to comment.