Skip to content

Monorepo support for URL replacement #63

@robbieaverill

Description

@robbieaverill

Hi team,

Thanks for producing this module!

Context: PyPI renders the readme of a package, yet it makes no attempt to normalise relative links within it.

Solution: use this package with a regex replacement.

I am working on a monorepo with uv. When I replace a relative link from a package within the monorepo, I need to know which package it is in order to include that in the regex replacement URL, otherwise I can only link to the monorepo itself.

Would it be reasonable to add something similar to HFPR_VERSION substitution but for the package name, e.g. HFPR_PACKAGE_NAME?

Happy to make a PR if you think it's a suitable suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions