Skip to content

Commit a4f2f81

Browse files
Added linkcheck action to makefile
1 parent b3134af commit a4f2f81

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,11 @@ endif
587587
yamllint:
588588
@docker run --rm $$(tty -s && echo "-it" || echo) -v $(PWD):/data cytopia/yamllint:latest /data --config-file /data/.yamllint --no-warnings
589589

590+
MD_FILES := $(shell find . -iname "*.md")
591+
.PHONY: linkcheck
592+
linkcheck:
593+
docker run --init -w /input -v $(PWD):/input --rm -it ghcr.io/tcort/markdown-link-check:3.12 -q -p $(MD_FILES)
594+
590595
## --------------------------------------
591596
## Cleanup / Verification
592597
## --------------------------------------

0 commit comments

Comments
 (0)