Skip to content

File tree diff: normalize URLs before hashing/diff #13042

@stsewd

Description

@stsewd

What's the problem this feature will solve?

Some tools make use of absolute URLs, including the domain. So, when opening a PR, the docs get build using the preview URL, which is different from the domain used in latest, so all pages are marked as changed.

Describe the solution you'd like

When getting the main content of files, normalize all the URLs so they are relative to the current domain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions