Skip to content

Magiclink support for repo paths paths #2446

@samvanstroud

Description

@samvanstroud

Description

If the user mentions a file which exists in the corresponding repo, a link to the source could be automatically added to the documentation page. This could work for directories too.

e.g.

The `scripts/example.py` script is an example.

Is converted to

The [`example.py`](https://github.com/org/repo/blob/-/scripts/example.py) script is an example.

Benefits

Allowing the user to quickly reference the source code associated with a file being discussed in the documentation.

Solution Idea

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions