Skip to content

Commit

Permalink
Fix link to github repo for 'Edit this page' link
Browse files Browse the repository at this point in the history
At the bottom of the Introduction page, https://realworld-docs.netlify.app/docs/intro, the link to the github repo seems to be broken.

It is sending us to:

https://github.com/gothinkster/realworld/tree/main/docs/docs/docs/intro.mdx

I think it should be:

https://github.com/gothinkster/realworld/blob/main/apps/documentation/docs/intro.mdx

So, I have made a pull request here. I am not sure if this is the correct place for this change to be made.

I notice that there may be a similar problem a few lines below with the link to the blog on line 33, but I could not find the blog so I have not investigated further.
  • Loading branch information
peterhauke authored and geromegrignon committed Sep 19, 2023
1 parent eb9c86a commit 70ffebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/documentation/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const config = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Remove this to remove the "edit this page" links.
editUrl: 'https://github.com/gothinkster/realworld/tree/main/docs/docs/',
editUrl: 'https://github.com/gothinkster/realworld/blob/main/apps/documentation/docs/',
},
blog: {
showReadingTime: true,
Expand Down

1 comment on commit 70ffebd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.