From ef054635fa74005a04e85eba4b7f478f64981d57 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 19 Jun 2020 15:37:31 +0200 Subject: add command: make check --- Makefile | 2 ++ SETUP.md | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 0137e88..9ef3a86 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,8 @@ all: doc doc: docs $(patsubst %,docs/%,$(subst -,/,$(notdir $(wildcard source/*)))) mkdocs build + +check: checklink site/index.html docs: diff --git a/SETUP.md b/SETUP.md index 14e6c60..cd1492e 100644 --- a/SETUP.md +++ b/SETUP.md @@ -22,6 +22,11 @@ you additionally need `MKDocs` and some helper tools: sudo apt install make w3c-linkchecker libtext-hogan-perl mkdocs +For checking quality of generated website, +you need an extra helper tool: + + sudo apt install w3c-linkchecker + ## Fetch features @@ -49,6 +54,13 @@ This command generates a website from the feature texts: make +## Check website + +This command checks generated website for flaws in links: + + make check + + ## Cleanup All fetched and generated files can be removed -- cgit v1.2.3