From 49ab2766847a17ff5d7874bc1d83fb5dcb9ff8f3 Mon Sep 17 00:00:00 2001 From: Suzukaze <1027743497@qq.com> Date: Tue, 2 Apr 2024 14:16:31 +0800 Subject: [PATCH] modify detail view and doc footer --- .vitepress/config.mjs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.vitepress/config.mjs b/.vitepress/config.mjs index ba2f874..31aa9a7 100644 --- a/.vitepress/config.mjs +++ b/.vitepress/config.mjs @@ -51,8 +51,17 @@ export default defineConfig({ }, socialLinks: [{ icon: 'github', link: repo_url }], - search: { provider: 'local' }, + search: { + provider: 'local', + options: { + detailedView: true, + } + }, outline: { label: '页面导航' }, + docFooter: { + prev: '上一页', + next: '下一页' + }, returnToTopLabel: '回到顶端', }, markdown: {