Skip to content

Commit

Permalink
fix: missing docs/site on docs links (#299)
Browse files Browse the repository at this point in the history
Co-authored-by: rcampos2 <rafael_campos@intuit.com>
  • Loading branch information
rafbcampos and rafbcampos authored Feb 15, 2024
1 parent 0b94bbc commit 9876ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/site/plugins/mdx-link-append-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = function (source) {
const filePath = this.resourcePath;
const rootDir = this.rootContext;
const relativePath = path.relative(rootDir, filePath);
const newContent = `${source}\n\n---\n\n[Help to improve this page](https://github.dev/player-ui/player/blob/main/${relativePath})`;
const newContent = `${source}\n\n---\n\n[Help to improve this page](https://github.dev/player-ui/player/blob/main/docs/site/${relativePath})`;
return newContent;
};
};

0 comments on commit 9876ea9

Please sign in to comment.