From 8c120073c893a0c6e869a354f565fc811e60949d Mon Sep 17 00:00:00 2001 From: Holocron <66957603+daertommy@users.noreply.github.com> Date: Tue, 28 Nov 2023 10:38:41 +0100 Subject: [PATCH] Update `docs/docusaurus.config.js` --- docs/docusaurus.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 1f175999d77..ea6538c9312 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -75,6 +75,9 @@ module.exports = { path: "src", routeBasePath: "/", sidebarPath: require.resolve("./sidebars.js"), + editUrl: ({ docPath }) => { + return `https://holocron.so/github/pr/solana-labs/solana-program-library/master/editor/docs/src/${docPath}` + }, }, theme: { customCss: require.resolve("./src/css/custom.css"),