File tree 4 files changed +24
-1
lines changed
4 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
/_venv
2
2
/site
3
3
/.vscode
4
- /.cache
4
+ /.cache
5
+ .lycheecache
Original file line number Diff line number Diff line change @@ -43,3 +43,9 @@ For larger changes:
43
43
* Access http://127.0.0.1:8000 - any changes to the sources should be
44
44
immediately visible in your browser
45
45
* Open a PR with your changes or just push them if you have commit rights
46
+
47
+ ### Link Checker
48
+
49
+ Run ` ./linkcheck.sh ` to check for broken links. This script uses
50
+ [ lychee] ( https://github.com/lycheeverse/lychee ) and requires Docker to be
51
+ installed.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+ DIR=" $( cd " $( dirname " $0 " ) " && pwd ) "
5
+ cd " ${DIR} "
6
+
7
+ # touch for permissions
8
+ touch .lycheecache
9
+ docker run --init -it --rm -w /website -v $( pwd) :/website lycheeverse/lychee .
Original file line number Diff line number Diff line change
1
+ cache = true
2
+ max_cache_age = " 1d"
3
+
4
+ scheme = [" https" , " http" ]
5
+ exclude_all_private = true
6
+ exclude = [
7
+ ]
You can’t perform that action at this time.
0 commit comments