Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail build on broken internal link #4937

Closed
2 tasks done
xbc5 opened this issue Apr 9, 2022 · 0 comments · Fixed by #4938
Closed
2 tasks done

Fail build on broken internal link #4937

xbc5 opened this issue Apr 9, 2022 · 0 comments · Fixed by #4938

Comments

@xbc5
Copy link
Contributor

xbc5 commented Apr 9, 2022

Check List

Please check followings before submitting a new feature request.

Feature Request

Fail build on broken internal links (i.e. when the file cannot be found).

Others

Specifically I mean this:

{% post_link a-non-existent-post-name 'A Title' %}

code

A "Post not found:..." message is inserted, this won't work for CI.

I can use a plugin to test external links, but not internal links. This is because they test the rendered link, which has an href of '#', and essentially valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant