Skip to content

Edit page button links are broken - missing /blob/ in URL #1178

Description

@JamesNK

Description

The "Edit page" button at the bottom of documentation pages generates broken links. The URL is missing /blob/ between the repository name and the branch.

Example

Page: https://aspire.dev/whats-new/aspire-13-4/

Current (broken) link:
https://github.com/microsoft/aspire.dev/main/src/frontend/src/content/docs/whats-new/aspire-13-4.mdx

Expected link:
https://github.com/microsoft/aspire.dev/blob/main/src/frontend/src/content/docs/whats-new/aspire-13-4.mdx

Impact

Users clicking the "Edit page" link get a 404 on GitHub instead of being taken to the source file for editing.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions