[Feature Request] Consistency Check for target
It would be nice if there was an option to check if the redirect target actually exists to avoid dead links.
Programatically this could be implemented by iterating over every target in to_be_redirected
and check if a file that matches any of target x source_suffix
exists.
If target
is a URL we could either ignore this or implement a linkchecker. Optimally the sphinx linkchecker would take care of this but that only checks for links in source documents not the config. I'll create a MR with a possible implementation in the next days.