[CleanRepo] Add ability to replace redirects from other repos
Open
- Dominant language
- C#
- Stars
- 27
- Forks
- 43
- Avg merge
- 13h 27m
- Merged PRs (30d)
- 21
Description
Add functionality that replaces site-relative links with their redirect target (if any).
For example:
- Find site-relative links in all .md or .yml files, for example "[link text](/azure/admin/overview)".
- For each different site, prompt the user for the repo path, e.g. "https://github.com/azure-docs".
- Find all the redirection files in the repo, and see if any source_path or source_path_from_root matches the site-relative link in the repo being "cleaned". If so, replace it with the redirect target.
This will require mapping the source_path to its published URL.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.