Skip to content

The edit link in public docs pages get 404, going to master not main #450

Description

@carehart

Describe the bug
If you visit a page like https://www.datafaker.net/documentation/usage/, and try to use the edit button (such as to suggest a typo), that edit button's link goes to:
https://github.com/datafaker-net/datafaker/edit/master/docs/documentation/usage.md

which gets a 404. That should instead be main, not master, so:
https://github.com/datafaker-net/datafaker/blob/main/docs/documentation/usage.md

I tried to find any reference for that in the code base here (to suggest a pr) but could not. Perhaps some process outside this repo is what controls creating the publication of the docs on the datafaker.net site.

I do understand why and how this problem came to be, and how this could easily slip through the cracks. I just share it to help you help others... to help you. :-)

I can tell you that on a mobile, it wasn't so easy to connect the dots of what was happening. Other casual readers who, on mobile, might have tripped on this may not have had the time/gumption to dig in, let alone report the issue.

Hope it's a really simple fix for you to do. Thanks for the efforts on the project. I just learned of it today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions