81 lines
4.3 KiB
TypeScript
81 lines
4.3 KiB
TypeScript
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: '<svg t="1759763307714" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1608" width="200" height="200"><path d="M848.512 981.333333H219.904C145.493333 981.333333 85.333333 921.898667 85.333333 848.341333V175.658667C85.333333 102.101333 145.493333 42.666667 219.904 42.666667h628.608A47.36 47.36 0 0 1 896 89.6v844.8c0 26.581333-20.565333 46.933333-47.488 46.933333zM219.904 136.533333a38.954667 38.954667 0 0 0-39.552 39.125334v672.682666c0 21.930667 17.408 39.125333 39.552 39.125334h582.698667V136.533333H219.904z" fill="#172B4D" p-id="1609"></path><path d="M132.821333 895.274667A47.36 47.36 0 0 1 85.333333 848.341333c0-73.514667 60.16-132.949333 134.570667-132.949333h630.186667a47.36 47.36 0 0 1 47.488 46.933333c0 26.581333-20.565333 46.933333-47.488 46.933334H219.904c-22.186667 0-39.552 18.773333-39.552 39.082666 0 26.624-22.186667 46.933333-47.530667 46.933334z" fill="#172B4D" p-id="1610"></path></svg>'
|
||
// },
|
||
// link: 'https://vitepress.dev/zh/reference/site-config',
|
||
// // 也可以为无障碍添加一个自定义标签 (可选但推荐):
|
||
// ariaLabel: 'cool link'
|
||
// }
|
||
]
|
||
}
|
||
})
|