From 856e421737676338870c03a7c18c6815a0625660 Mon Sep 17 00:00:00 2001 From: anghunk Date: Tue, 20 Jan 2026 17:08:29 +0800 Subject: [PATCH] =?UTF-8?q?docs(vitepress):=20=E6=9B=B4=E6=96=B0=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E9=85=8D=E7=BD=AE=E4=B8=AD=E7=9A=84=E5=A4=A7=E7=BA=B2?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 outline 从数组格式改为对象格式,支持更多配置选项并添加标签 --- docs/.vitepress/config.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs index ecb0518..7c60129 100644 --- a/docs/.vitepress/config.mjs +++ b/docs/.vitepress/config.mjs @@ -4,7 +4,10 @@ export default defineConfig({ title: 'CWD 评论系统文档', description: '基于 Cloudflare Workers 的轻量级评论系统', lang: 'zh-CN', - outline: [2, 3], + outline: { + level: [2, 3, 4], + label: 'On this page', + }, head: [ [ 'link',