From e13127e0645655b8bf2e51735857a41244660e50 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 2 Nov 2023 16:07:35 +0100 Subject: [PATCH] When link checking, always build HTML from scratch To be on the safe side, always build HTML pages from scratch, so that lychee checks the actual current version of the files. Signed-off-by: David Runge --- book/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/Makefile b/book/Makefile index a8776a5..63b6cb7 100644 --- a/book/Makefile +++ b/book/Makefile @@ -16,7 +16,7 @@ BUILDDIR = build help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -html-linkcheck: html +html-linkcheck: clean html @$(LYCHEE) "$(BUILDDIR)/html/"*.html .PHONY: help Makefile