From c3790a9c2ed7e712928b6e285e6f252babd32966 Mon Sep 17 00:00:00 2001 From: yunfachi Date: Sun, 18 Aug 2024 13:15:47 +0300 Subject: [PATCH] fix(docs): add src to page edit pattern --- docs/.vitepress/config.mts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 2d54492..e37e128 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -33,7 +33,7 @@ function themeConfigEnglish() {return { themeConfig: { editLink: { - pattern: "https://github.com/yunfachi/denix/edit/master/docs/:path", + pattern: "https://github.com/yunfachi/denix/edit/master/docs/src/:path", text: "Edit this page on Github" }, @@ -60,7 +60,7 @@ function themeConfigRussian() {return { themeConfig: { editLink: { - pattern: "https://github.com/yunfachi/denix/edit/master/docs/:path", + pattern: "https://github.com/yunfachi/denix/edit/master/docs/src/:path", text: "Редактировать эту страницу на GitHub" },