diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 1f175999d77..4de5c7aa7e7 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://github.com/solana-labs/solana-program-library/edit/master/docs/src/${docPath}`; + } }, theme: { customCss: require.resolve("./src/css/custom.css"),