import { defineConfig } from 'vitepress' import { dailySidebar } from './daily.mts' // https://vitepress.dev/reference/site-config export default defineConfig({ title: "形容力提升训练手册", description: "唤醒意识,理解形容的本质与障碍", themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ { text: '主页', link: '/' }, // { text: '开始', link: '/preface' } { text: '下载', link: '/pdf/book.pdf' } ], sidebar: { "/daily/": dailySidebar, "/": [ { text: '自序', link: '/preface' }, { text: '自我介绍', link: '/self-introduction' }, { text: '第一部分 形容力的本质——你为什么“形容不出来”', link: '/book/0-1', items: [ { text: '第1章:我们为什么需要“形容力”?', link: '/book/01' }, { text: '第2章:形容力的三大障碍', link: '/book/02' }, { text: '第3章:形容力的底层逻辑', link: '/book/03' } ] }, { text: '第二部分 形容力的四大训练系统', link: '/book/0-2', items: [ { text: '第4章:训练眼睛——如何“看见细节”?', link: '/book/04' }, { text: '第5章:激活感官——让描述“有味道、有声音”', link: '/book/05' }, { text: '第6章:丰富词汇——建立你的“形容词库”', link: '/book/06' }, { text: '第7章:学会比喻——让语言“活”起来', link: '/book/07' }, { text: '第8章:结构化表达——从碎片到完整描述', link: '/book/08' }, { text: '第9章:情感注入——让形容“打动人”', link: '/book/09' } ] }, { text: '第三部分 形容力的实战应用与长期提升', link: '/book/0-3', items: [ { text: '第10章:在写作中应用形容力', link: '/book/10' }, { text: '第11章:在口语中应用形容力', link: '/book/11' }, { text: '第12章:养成形容习惯,持续进步', link: '/book/12' } ] }, { text: '附录', items: [ { text: '附录A:形容词分类速查表', link: '/appendix/a', target: '_blank', rel: 'noopener' }, { text: '附录B:经典描写句摘录50例', link: '/appendix/b', target: '_blank', rel: 'noopener' }, { text: '附录C:30天形容力训练打卡表', link: '/appendix/c', target: '_blank', rel: 'noopener' }, { text: '附录D:观察与描写练习题100道', link: '/appendix/d', target: '_blank', rel: 'noopener' }, { text: '附录E:推荐阅读书单', link: '/appendix/e', target: '_blank', rel: 'noopener' } ] } ], }, socialLinks: [ // { icon: 'github', link: 'https://github.com/vuejs/vitepress' }, { icon: 'github', link: 'https://vitepress.dev/zh/reference/site-config' }, { icon: 'gitea', link: "https://git.xiongxiao.me/abearxiong/look-good" }, // { // icon: { // svg: '' // }, // link: 'https://vitepress.dev/zh/reference/site-config', // // 也可以为无障碍添加一个自定义标签 (可选但推荐): // ariaLabel: 'cool link' // } ] } })