Skip to content

Commit d734d00

Browse files
committed
more precise configuration of lychee
1 parent c766236 commit d734d00

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/nestbuildmatrix.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ jobs:
133133
tar -xzf 'lychee-v0.8.2-x86_64-unknown-linux-gnu.tar.gz'
134134
135135
- name: "Run lychee..."
136-
run: |
137-
./lychee .
136+
run: "./lychee build_support/ debian/ doc/{*.txt,*.md,auto_examples,devdoc,userdoc,models} examples/ lib* models/ nest* pynest/ testsuite/ *.md"
138137
env:
139138
# Required, set by GitHub actions automatically:
140139
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret

lychee.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,27 @@ headers = []
5050
### Exclusions
5151
###
5252
# Exclude URLs from checking (supports regex)
53-
exclude = []
53+
exclude = [".*highlightjs.*", ".*conda/.*", ".git/.*", '.*doc/slihelp_generator.*', '.*/doc/slidoc/index.html']
5454

5555
# Exclude URLs contained in a file from checking
5656
# If a file named `.lycheeignore` exists in the current working directory,
5757
# its contents will be excluded as well.
58-
exclude_file = ['.git', 'doc/slihelp_generator', 'doc/slidoc/index.html']
58+
#exclude_file = []
5959

6060
include = []
6161

6262
# Exclude all private IPs from checking
6363
# Equivalent to setting `exclude_private`, `exclude_link_local`, and `exclude_loopback` to true
64-
exclude_all_private = false
64+
exclude_all_private = true
6565

6666
# Exclude private IP address ranges from checking
67-
exclude_private = false
67+
exclude_private = true
6868

6969
# Exclude link-local IP address range from checking
70-
exclude_link_local = false
70+
exclude_link_local = true
7171

7272
# Exclude loopback IP address range and localhost from checking
73-
exclude_loopback = false
73+
exclude_loopback = true
7474

7575
# Exclude all mail addresses from checking
76-
exclude_mail = false
76+
exclude_mail = true

0 commit comments

Comments
 (0)