docs: update docs

This commit is contained in:
pengzhanbo 2025-10-08 00:07:08 +08:00
parent b87a5cfd7a
commit 22b65fd22c
3 changed files with 288 additions and 499 deletions

File diff suppressed because it is too large Load Diff

View File

@ -73,9 +73,11 @@ export function tocGetter(llmPages: LLMPage[], llmState: LLMState): string {
}
// Notes
zhCollections.filter(note => note.type === 'doc').forEach(({ dir, title, sidebar = [] }) => {
zhCollections
.filter(collection => collection.type === 'doc')
.forEach(({ dir, title, sidebar = [] }) => {
tableOfContent += `### ${title}\n\n`
const prefix = normalizePath(dir)
const prefix = normalizePath(ensureLeadingSlash(dir))
if (sidebar === 'auto') {
tableOfContent += `${processAutoSidebar(prefix).join('')}\n`
}

View File

@ -23,7 +23,7 @@
中文 | <a href="/readme.en-US.md">English</a>
</p>
一个简约的,干净的,容易上手的 vuepress 主题,适用于博客和文档。
一个简约的,干净的,容易上手的 vuepress 主题,适用于博客、专栏 文档。
开箱即用,仅需少量配置即可使用,让您更专注于 内容的创作,更好的表达你的想法,形成你的知识笔记。
@ -32,7 +32,7 @@
## 特性
- 💻 响应式布局,适配不同的屏幕尺寸
- 📖 博客 & 文档
- 📖 集合:通过集合,可同时实现 博客、专栏、 产品文档、技术文档、知识库等
- 🔗 自动生成文章永久链接
- ⚖ 支持多语言
- 👀 支持 搜索、文章评论