mirror of
https://github.com/nicholaswilde/recipes.git
synced 2025-12-01 12:36:44 +00:00
feat: add linkspector
Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
11
.linkspector.yaml
Normal file
11
.linkspector.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
baseUrl: https://nicholaswilde.io/recipes
|
||||||
|
dirs:
|
||||||
|
- docs
|
||||||
|
excludedDirs:
|
||||||
|
- docs/assets
|
||||||
|
ignorePatterns:
|
||||||
|
- pattern: '^https://www.thekitchn.com/.*$'
|
||||||
|
replacementPatterns:
|
||||||
|
- pattern: "(\\.md\\#)"
|
||||||
|
replacement: '/#'
|
||||||
@ -8,6 +8,12 @@ vars:
|
|||||||
PORT: 8000
|
PORT: 8000
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
linkspector:
|
||||||
|
desc: linkspector
|
||||||
|
cmds:
|
||||||
|
- >-
|
||||||
|
nicholas@amd:~/git/nicholaswilde/recipes$ docker run --rm -it -v "${PWD}":/app -v "${PWD}"/.linkspector.yaml:/path/to/custom-config.yml --name linkspector umbrelladocs/linkspector bash -c 'linkspector check -c /path/to/custom-config.yml'
|
||||||
|
|
||||||
add-lazy-loading:
|
add-lazy-loading:
|
||||||
desc: Add lazy image loading
|
desc: Add lazy image loading
|
||||||
dir: '{{.USER_WORKING_DIR}}'
|
dir: '{{.USER_WORKING_DIR}}'
|
||||||
|
|||||||
Reference in New Issue
Block a user