mirror of
https://codeberg.org/openpgp/notes.git
synced 2024-11-23 08:02:05 +01:00
feat: Add make target to check links in html output using lychee
Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
parent
647b2494f5
commit
d342884ecf
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue