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
I am unsure whether they are valid URIs, but the check fails for links like https://matrix.to/#/#roomname:matrix.my-cool-server.com with an InvalidUrlException.
The text was updated successfully, but these errors were encountered:
It seems like matrix is using non-compliant URIs (matrix-org/matrix.to#17)
Is there a way to remove this one error (like writing an <-- #[allow(InvalidUrlException)] --> in the line above)?
If matrix uses non-compliant URIs, there nothing to do currently.
Good news though, Hakyll considers URIs to be strings at first, which are then parsed. If someone was really keen on supporting matrix URIs, then Hakyll could be extended to either:
As you mention, add a mechanism to skip the check on certain URIs.
Personally, I am much more partial to solution 1 (handling matrix URIs in a special case). It seems the least disruptive and the most in-keeping with the spirit of ensuring live links.
I am happy to review pull requests.
In the meantime, you can skip checking of external uris using the mysite check --internal-links command.
I am unsure whether they are valid URIs, but the check fails for links like
https://matrix.to/#/#roomname:matrix.my-cool-server.com
with anInvalidUrlException
.The text was updated successfully, but these errors were encountered: