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
foranchorinsoup_doc(["a", "object"]):
if"href"notinanchor.attrs:
continueurl=anchor["href"]
# local files and other links are not really intrestingifnoturl.startswith("http"):
continue# <-- this part skips internal links like somepage#someanchor# Previous case works also for debugging environment (with SITEURL# being empty) This case resolves publish environment with all links# starting with http.ifsiteurlandurl.startswith(siteurl):
log.info("Url %s skipped because is starts with %s", url, siteurl)
continue
Sometimes (after large refactoring, for example), it would be nice to check that internal links work, too. Basic support could just check the existence of the file. Supporting checking anchors would be even better.
Do you think the scope of the package could allow for including checks for internal links?
The text was updated successfully, but these errors were encountered:
I see that in the plugins/deadlinks/deadlinks.py the internal links are explicitly skipped:
Sometimes (after large refactoring, for example), it would be nice to check that internal links work, too. Basic support could just check the existence of the file. Supporting checking anchors would be even better.
Do you think the scope of the package could allow for including checks for internal links?
The text was updated successfully, but these errors were encountered: