Skip to content

Commit

Permalink
Fix editUrl in docusaurus config (#1)
Browse files Browse the repository at this point in the history
After having a quick look at the new site, I saw that the links to edit
both the docs and blog section were taking me over to a 404 in the
GitHub repository. There was an extra "docs" and "blog" in the URLs that
were being used.

I actually have no idea whether this change will work, but based on what
I am seeing being generated, it would appear to make sense.
  • Loading branch information
gep13 authored Oct 6, 2024
1 parent fede774 commit ddc0608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const config: Config = {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/psake/docs/blob/main/docs',
'https://github.com/psake/docs/blob/main',
},
blog: {
showReadingTime: true,
Expand All @@ -49,7 +49,7 @@ const config: Config = {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/psake/docs/blob/main/blog',
'https://github.com/psake/docs/blob/main',
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
Expand Down

0 comments on commit ddc0608

Please sign in to comment.