website icon indicating copy to clipboard operation
website copied to clipboard

[Docs Bug 🐞 report]: Links to GitHub are incorrect

Open andrew-rosca opened this issue 7 months ago • 6 comments

Describe the bug you found in AsyncAPI Docs.

The links at the top of every docs page point to the incorrect path at GitHub

For example, on this page: https://www.asyncapi.com/docs/concepts/asyncapi-document/securing-operations image the link points to https://github.com/asyncapi/website/blob/master/pages/docs/concepts/asyncapi-document/securing-operations.md

The correct link is actually https://github.com/asyncapi/website/blob/master/markdown/docs/concepts/asyncapi-document/securing-operations.md

(i.e. pages should be markdown in the path)

The bug is most likely in the generateEditLink function, though I can't immediately spot it

Attach any resources that can help us understand the issue.

see info in description

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

andrew-rosca avatar Jul 01 '24 03:07 andrew-rosca