1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 03:54:47 +00:00

Merge remote-tracking branch 'origin/fix-418'

This commit is contained in:
deadc0de6
2023-11-30 12:35:15 +01:00
7 changed files with 103 additions and 35 deletions

15
scripts/check-doc.sh vendored
View File

@@ -21,10 +21,15 @@ if ! which remark >/dev/null 2>&1; then
exit 1
fi
echo "------------------------"
echo "checking internal links"
find . -type f -iname '*.md' | while read -r line; do
remark -f -u validate-links "${line}"
done
in_cicd="${GH_WORKFLOW:-}"
if [ -n "${in_cicd}" ]; then
echo "------------------------"
echo "checking internal links"
find . -type f -iname '*.md' | while read -r line; do
remark -f -u validate-links "${line}"
done
else
echo "not checking internal links..."
fi
echo "documentation OK"

View File

@@ -31,6 +31,7 @@ VALID_RET = [
]
IGNORES = [
'badgen.net',
'coveralls.io',
]
OK_WHEN_FORBIDDEN = [
'linux.die.net'