Skip to content

Commit

Permalink
[docs]: add edit page button to GitHub PRs (#5916)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe C authored Nov 28, 2023
1 parent 8138a70 commit 67b8a12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 67b8a12

Please sign in to comment.