File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 47
47
uses : lycheeverse/lychee-action@v2
48
48
with :
49
49
fail : true
50
- args : ./docs/book
50
+ args : >-
51
+ --verbose
52
+ --no-progress
53
+ --config docs/lychee.toml
54
+ --root-dir "${{ github.workspace }}/docs/book"
55
+ ./docs/book
51
56
- name : Upload artifact
52
57
uses : actions/upload-pages-artifact@v3
53
58
with :
Original file line number Diff line number Diff line change 1
1
book
2
+ .lycheecache
Original file line number Diff line number Diff line change
1
+ # configuration of lychee link checker
2
+ # https://lychee.cli.rs/usage/config/
3
+
4
+ # enable link checking to avoid rate limiting when doing many runs locally in sequence
5
+ cache = true
6
+
7
+ # skip over URLs matching these regex
8
+ exclude = [
9
+ # skip DocDB, we want to link to internal documents
10
+ ' ^https://projects-docdb\.fnal\.gov' ,
11
+ # this is a private repository
12
+ ' ^https://github\.com/LDMX-Software/(ldmx-sw-scripts|ldmx-analysis)' ,
13
+ # this is timing out for some reason
14
+ ' ^http://www\.adobe\.com'
15
+ ]
16
+
17
+ # don't check these files
18
+ exclude_path = [
19
+ # skip the "print.html" page generated by mdbook because it just repeats any previous errors
20
+ ' book/print.html'
21
+ ]
You can’t perform that action at this time.
0 commit comments