You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
look-here is not redirected to look-over-there using mkdocs-redirects, because someone forgot.
Site A now has a dead link.
What aren't solutions?
In a controlled environment, dead links can be detected on the linking side. But not when sites that you don't control link to your documentation. Also not when mkdocs sites link to each other: mkdocs doesn't support dead link detection natively (Add command to detect broken links mkdocs#2051)
Relying on the reviewer to think "this link moved, do we have a redirect?". PR checklists are too invasive, as moving content is not common, but extremely frustrating for users/readers when it causes a dead link.
Practical
I have no ideas as to how this could be implemented in practice. After all, mkdocs has no state, so no way to know which links used to exist, and now don't, ergo which links need a redirect.
Expectation
Site A:
Documentation:
look-heremoved tolook-over-there.look-hereis redirected tolook-over-thereusingmkdocs-redirects.Reality
Site A:
Documentation:
look-heremoved tolook-over-there.look-hereis not redirected tolook-over-thereusingmkdocs-redirects, because someone forgot.Site A now has a dead link.
What aren't solutions?
Practical
I have no ideas as to how this could be implemented in practice. After all, mkdocs has no state, so no way to know which links used to exist, and now don't, ergo which links need a redirect.