From 15a61606d1308b51f52724cb1087e138ed0d8e84 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Oct 11 2021 18:17:59 +0000 Subject: Add a linkcheck Makefile target drupal.org is ignored because it detects automated browsing and complains. --- diff --git a/Makefile b/Makefile index a5f686f..1594f92 100644 --- a/Makefile +++ b/Makefile @@ -11,5 +11,9 @@ serve: $(info *** Make sure to refresh pages without cache ***) python3 -m http.server +linkcheck: + linkchecker http://localhost:8000 --complete --check-extern --no-robots \ + --ignore-url "www.drupal.org" + .DEFAULT_GOAL := doc -.PHONY: doc serve +.PHONY: doc linkcheck serve