From 83cb701d501034dcdddb22afa4746dd4577a9b5d Mon Sep 17 00:00:00 2001 From: teasiu Date: Sun, 12 Apr 2026 22:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 631c6ba..02388b5 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -39,19 +39,13 @@ const config = { ({ docs: { sidebarPath: require.resolve('./sidebars.js'), - // Please change this to your repo. - // Remove this to remove the "edit this page" links. - editUrl: ({ docPath }) => { - return `https://holocron.so/github/pr/teasiu/doc/main/editor/docs/${docPath}` + editUrl: 'https://github.com/teasiu/doc/edit/main/', }, }, blog: { - showReadingTime: true, - onUntruncatedBlogPosts: 'ignore', - // Please change this to your repo. - // Remove this to remove the "edit this page" links. - editUrl: ({ docPath }) => { - return `https://holocron.so/github/pr/teasiu/doc/main/editor/blog/${docPath}` + showReadingTime: true, + onUntruncatedBlogPosts: 'ignore', + editUrl: 'https://github.com/teasiu/doc/edit/main/', }, }, theme: {