The documentation site 'Edit On GitHub' links return a 404 #2859
Replies: 2 comments
-
What's really curious to me is that in most cases, such as clicking on the "Getting Started" guide here, GitHub will redirect to the correct branch and show a little banner: As for actually fixing this, I'm struggling to find where to make the change. I'm not seeing any relevant configuration in our docs configuration in |
Beta Was this translation helpful? Give feedback.
-
Closing, conversation will take place in #2863 |
Beta Was this translation helpful? Give feedback.
-
Hello all,
Sorry if this is the wrong means of doing this but I don't feel it warranted an issue being created due to it not being a problem with the code itself.
When I was browsing the documentation website I noticed that the 'Edit on GitHub' links all seem to return a 404.
The links seem to point to the repository on the
master
branch which must have existed previously before being renamed tomain
.For example https://github.com/octokit/octokit.net/edit/master/docs/index.md is the link provided when trying to edit the home page.
This should read https://github.com/octokit/octokit.net/edit/main/docs/index.md.
Hopefully it should just be a matter of updating the base url on the documentation site to https://github.com/octokit/octokit.net/edit/main/docs/.
Ben
Beta Was this translation helpful? Give feedback.
All reactions