mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-09 10:26:28 +02:00
A tool to check our docs for broken links.
Annoyingly, mkdocs won't validate inter- or intra-document links, so we'll need to use a third-party tool instead.
This commit is contained in:
12
docs/checklinks.sh
Normal file
12
docs/checklinks.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This uses the official W3C link-checker tool:
|
||||||
|
#
|
||||||
|
# https://github.com/w3c/link-checker
|
||||||
|
#
|
||||||
|
checklink \
|
||||||
|
--summary \
|
||||||
|
--broken \
|
||||||
|
--location=http://127.0.0.1:8000/ \
|
||||||
|
--exclude 'github.com|board.byuu.org' \
|
||||||
|
http://127.0.0.1:8000/
|
Reference in New Issue
Block a user