Skip to content

Relative URLs in README starting with / #768

Open
@dbushell

Description

@dbushell

If I have a relative URL starting with a forward slash / in a README for example:

[Documentation](/docs/getting-started.md)

JSR will link to jsr.io and 404, e.g. https://jsr.io/docs/getting-started.md

I would expect this to link back to Github. Both GitHub and NPM allow / linking this way.

If the URL is not prefixed with / e.g. docs/getting-started.md JSR links back to GitHub correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs genRelated to the documentation generationgood first issueGood for newcomers

    Type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions