Bug: main vs master URLs, add option for custom branch #5

Closed
opened 2022-06-20 10:27:59 +00:00 by joepio · 0 comments
joepio commented 2022-06-20 10:27:59 +00:00 (Migrated from github.com)

In my case, it generated: https://github.com/atomicdata-dev/atomic-data-docs/edit/main/src/schema/classes.md

Which leads to a 404.

The correct one is https://github.com/atomicdata-dev/atomic-data-docs/edit/master/src/schema/classes.md

The problem is the main / master branch name, which in my case is master instead of main. I've now changed to main to fix this for me, but maybe it's good if the default branch name becomes a setting.

In my case, it generated: `https://github.com/atomicdata-dev/atomic-data-docs/edit/main/src/schema/classes.md` Which leads to a 404. The correct one is `https://github.com/atomicdata-dev/atomic-data-docs/edit/master/src/schema/classes.md` The problem is the main / master branch name, which in my case is `master` instead of `main`. I've now changed to `main` to fix this for me, but maybe it's good if the default branch name becomes a setting.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jer/mdbook-open-on-gh#5
No description provided.