Add a target to check broken external links in the Documentation

Documentation shouldn't have broken links.
sphinx linkcheck builder scans all documents for external links, tries
to open them with urllib2, and writes an overview which ones are broken
and redirected to standard output and to output.txt in the output
directory.

Reviewed-by: Jani Nikula <[email protected]>
Tested-by: Jani Nikula <[email protected]>
Signed-off-by: Rémy Léone <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
This commit is contained in:
Rémy Léone 2017-02-15 13:16:35 +01:00 • committed by Jonathan Corbet
commit 62924fd789
4 changed files with 7 additions and 1 deletions

View file

@ -103,6 +103,7 @@ html: all
epub: all
xml: all
latex: $(IMGPDF) all
linkcheck:
clean:
-rm -f $(DOTTGT) $(IMGTGT) ${TARGETS} 2>/dev/null