diff --git a/book/Makefile b/book/Makefile index cda2a70..15c0f8a 100644 --- a/book/Makefile +++ b/book/Makefile @@ -8,6 +8,7 @@ # from the environment for the first two. SPHINXOPTS ?= SPHINXBUILD ?= sphinx-build +LYCHEE ?= lychee SOURCEDIR = source BUILDDIR = build @@ -15,6 +16,9 @@ BUILDDIR = build help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) +html-linkcheck: html + @$(LYCHEE) "$(BUILDDIR)/html/"*.html + .PHONY: help Makefile # Catch-all target: route all unknown targets to Sphinx using the new