From 2003aba34080f466bc7452697e87ef4d1d7f6728 Mon Sep 17 00:00:00 2001
From: taskylizard <75871323+taskylizard@users.noreply.github.com>
Date: Mon, 5 Aug 2024 12:16:42 +0000
Subject: [PATCH] chore: enable `editLink`
---
docs/.vitepress/config.mts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts
index 6cc371a9e..b14511fd7 100644
--- a/docs/.vitepress/config.mts
+++ b/docs/.vitepress/config.mts
@@ -94,6 +94,10 @@ export default defineConfig({
message: `${feedback} (rev: ${commitRef})`,
copyright: `© ${new Date().getFullYear()}, nbats, taskylizard and contributors.`
},
+ editLink: {
+ pattern: 'https://github.com/fmhy/FMHYEdit/edit/main/docs/:path',
+ text: '📝 Edit this page'
+ },
outline: 'deep',
logo: '/fmhy.ico',
nav: [