-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
167 add support to link check (#173)
* refs #167: add support to link check Using [markdown-link-validator](https://github.com/jenkin/markdown-link-validator/tree/feature/sparkfabrik-enhancements) from github repo. Build the docker image and run validation with `make check`. * refs #167: update link checker * refs #167: add pre-commit hook See [issues/167#issuecomment-1589456767](#167 (comment)).
- Loading branch information
Showing
8 changed files
with
537 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
^/downloads/ | ||
drupal.org | ||
udemy.com | ||
sparkfabrik.loc | ||
acme.sparkfabrik.com |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
make check |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,18 @@ | |
"author": "Paolo Pustorino <[email protected]>", | ||
"main": "server.js", | ||
"scripts": { | ||
"start": "node server.js", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"start": "node server.js", | ||
"check": "markdown-link-validator -q -e -o -c 403 --ignorePatternsFrom ./content/.mlvignore ./content", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"prepare": "cd .. && husky install custom/.husky" | ||
}, | ||
"license": "https://creativecommons.org/licenses/by-sa/4.0/", | ||
"dependencies": { | ||
"raneto": "0.17.3", | ||
"gulp": "4.0.2" | ||
"gulp": "4.0.2", | ||
"markdown-link-validator": "github:jenkin/markdown-link-validator#feature/sparkfabrik-enhancements", | ||
"raneto": "0.17.3" | ||
}, | ||
"devDependencies": { | ||
"husky": "^8.0.3" | ||
} | ||
} | ||
} |