From a22b5de0c2d3817bf0163e76f0422673d9dc0cc3 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 26 Jul 2024 11:13:23 +0300 Subject: [PATCH] feat(docs): add edit link See https://vitepress.dev/reference/default-theme-edit-link --- docs/.vitepress/config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 189bf37003..3bafab5417 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -10,6 +10,11 @@ export default defineConfig({ themeConfig: { // https://vitepress.dev/reference/default-theme-config + editLink: { + pattern: + 'https://github.com/conventional-changelog/commitlint/edit/master/docs/:path', + }, + logo: '/assets/icon.png', nav: [