Skip to content

Commit 178cdf9

Browse files
committed
Check local file anchors
1 parent 7ebcae3 commit 178cdf9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/lychee.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ max_redirects = 2
2525
# Maximum number of allowed retries before a link is declared dead.
2626
max_retries = 2
2727

28-
# Only test links with the given schemes (e.g. https).
28+
# Only test links with the given schemes (e.g. https, https).
2929
# Omit to check links with any other scheme.
30-
# At the moment, we support http, https, file, and mailto.
31-
scheme = ["https"]
30+
scheme = ["https", "file"]
3231

3332
# Exclude links
3433
exclude = [
@@ -39,6 +38,7 @@ exclude = [
3938
# Exclude paths from getting checked. The values are treated as regular expressions
4039
exclude_path = [
4140
"\\.txt$", # skip .txt extensions
41+
"\\.html$", # skip .html extensions
4242
"(^|/)test/", # skip directories named "test"
4343
"external/", # skip external directories
4444
]

.github/workflows/markdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ jobs:
5555
- name: Check markdown links
5656
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
5757
with:
58-
args: --config .github/lychee.toml --verbose --no-progress './**/*.md' './**/*.html'
58+
args: --config .github/lychee.toml --verbose --no-progress './**/*.md'
5959
fail: true
6060
jobSummary: true

0 commit comments

Comments
 (0)