From 08fc800feeb4455e36137a3fe3e1b1dc237f243b Mon Sep 17 00:00:00 2001 From: Eladio Date: Thu, 15 Jan 2026 16:20:49 +0100 Subject: [PATCH] Fixed docusaurus links ffor edit buttons --- docusaurus.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index d00c4f9..3b4b19b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -119,7 +119,7 @@ module.exports = { routeBasePath: "yield", sidebarPath: require.resolve("./sidebars-yield.js"), editUrl: ({ docPath }) => { - return `https://github.com/PufferFinance/website-docs/tree/main/docs/${docPath}`; + return `https://github.com/PufferFinance/website-docs/tree/main/docs/yield/${docPath}`; }, remarkPlugins: [math], rehypePlugins: [ @@ -143,7 +143,7 @@ module.exports = { routeBasePath: "puffer-preconf", sidebarPath: require.resolve("./sidebars-puffer-preconf.js"), editUrl: ({ docPath }) => { - return `https://github.com/PufferFinance/website-docs/tree/main/docs/${docPath}`; + return `https://github.com/PufferFinance/website-docs/tree/main/docs/puffer-preconf/${docPath}`; }, remarkPlugins: [math], rehypePlugins: [ @@ -167,7 +167,7 @@ module.exports = { routeBasePath: "institutional", sidebarPath: require.resolve("./sidebars-institutional.js"), editUrl: ({ docPath }) => { - return `https://github.com/PufferFinance/website-docs/tree/main/docs/${docPath}`; + return `https://github.com/PufferFinance/website-docs/tree/main/docs/institutional/${docPath}`; }, remarkPlugins: [math], rehypePlugins: [