mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-11-02 13:24:13 +08:00
refactor(docs): 统一各学科 sidebar 配置类型定义
引入 SubjectSidebarConfig 类型,与站点侧边栏 permalink 解析逻辑对齐。
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import type { SubjectSidebarConfig } from '../../.vuepress/config/plugins/resolve-sidebar-links'
|
||||
|
||||
/**
|
||||
* 数据结构
|
||||
*/
|
||||
export const dsSidebar = [
|
||||
export const dsSidebar: SubjectSidebarConfig = [
|
||||
{
|
||||
text: '基础入门',
|
||||
prefix: '基础入门',
|
||||
|
||||
Reference in New Issue
Block a user