From 36337ecec4b45f01154a0334ff04bd17539a8265 Mon Sep 17 00:00:00 2001 From: BeiyanYunyi <14120445+BeiyanYunyi@users.noreply.github.com> Date: Wed, 25 Sep 2024 23:13:58 +0800 Subject: [PATCH] fix(theme): :bug: wrong inclcude --- example/docs/.vitepress/config.ts | 2 +- src/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/docs/.vitepress/config.ts b/example/docs/.vitepress/config.ts index 548ecd6..cb7c7ce 100644 --- a/example/docs/.vitepress/config.ts +++ b/example/docs/.vitepress/config.ts @@ -19,7 +19,7 @@ const themeConfig: ThemeContext = { include: ['campus', 'contributor-guide', 'fashion'], nav, sidebarOptions, - enableChangeLog: false, + // enableChangeLog: false, enableSuggestionBox: false, } diff --git a/src/config.ts b/src/config.ts index 3421aec..01b3433 100644 --- a/src/config.ts +++ b/src/config.ts @@ -179,7 +179,7 @@ function genConfig() { plugins: [ GitChangelog({ repoURL: githubRepoLink, - include: enableChangeLog ? ['** /*.md', '!node_modules'] : [], + include: enableChangeLog ? ['**/*.md', '!node_modules'] : [], }), // GitChangelogMarkdownSection({ // sections: {