mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 02:09:23 +00:00
remark install
This commit is contained in:
3
test-doc.sh
vendored
3
test-doc.sh
vendored
@@ -10,6 +10,7 @@ done
|
|||||||
## test the doc internal links
|
## test the doc internal links
|
||||||
## https://github.com/remarkjs/remark-validate-links
|
## https://github.com/remarkjs/remark-validate-links
|
||||||
## https://github.com/tcort/markdown-link-check
|
## https://github.com/tcort/markdown-link-check
|
||||||
|
## npm install -g remark-cli remark-validate-links
|
||||||
set +e
|
set +e
|
||||||
which remark >/dev/null 2>&1
|
which remark >/dev/null 2>&1
|
||||||
r="$?"
|
r="$?"
|
||||||
@@ -23,4 +24,4 @@ find . -type f -iname '*.md' | while read -r line; do
|
|||||||
remark -f -u validate-links "${line}"
|
remark -f -u validate-links "${line}"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "documentation OK"
|
echo "documentation OK"
|
||||||
|
|||||||
Reference in New Issue
Block a user