From ae0155e0752e73fe30d9c1e806dff9f9423ea844 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 1 Dec 2023 15:23:10 +0100 Subject: [PATCH 1/2] include LICENCE file in pagePatterns to allow to link it in the docu, fix undefined bug intoroduced with VUEPRESS_BASE PR --- .vuepress/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vuepress/config.ts b/.vuepress/config.ts index 92d5f49..eacb96a 100644 --- a/.vuepress/config.ts +++ b/.vuepress/config.ts @@ -4,5 +4,6 @@ export default defineUserConfig({ title: 'IT4C Frontend Boilerplate Documentation', description: 'IT4C Frontend Boilerplate Documentation', dest: 'build/docs', - base: `/${process.env.VUEPRESS_BASE}/` ?? '/', + base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/', + pagePatterns: ['**/*.md', '**/LICENSE', '!.vuepress', '!node_modules'] }) From acec0c9e9cee4827a863e4f1f7916dc1497c69eb Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 1 Dec 2023 15:25:34 +0100 Subject: [PATCH 2/2] lint fixes --- .vuepress/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vuepress/config.ts b/.vuepress/config.ts index eacb96a..482505b 100644 --- a/.vuepress/config.ts +++ b/.vuepress/config.ts @@ -5,5 +5,5 @@ export default defineUserConfig({ description: 'IT4C Frontend Boilerplate Documentation', dest: 'build/docs', base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/', - pagePatterns: ['**/*.md', '**/LICENSE', '!.vuepress', '!node_modules'] + pagePatterns: ['**/*.md', '**/LICENSE', '!.vuepress', '!node_modules'], })