From 87857411ee2c18e4fa57ed7b260ca80b5e5024f7 Mon Sep 17 00:00:00 2001 From: Joel Drapper Date: Sat, 7 Sep 2024 00:17:51 +0100 Subject: [PATCH] Add edit link pattern --- .vitepress/config.mts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 0861033..a3c0a19 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -4,6 +4,10 @@ export default defineConfig({ title: "Phlex", description: "Ruby views", themeConfig: { + editLink: { + pattern: "https://github.com/phlex-ruby/phlex.fun/edit/main/:path", + }, + nav: [ { text: "Home", link: "/" }, { text: "Community", link: "project/community" },