Skip to content

Commit 884d94c

Browse files
ltorres6claude
andcommitted
Tune link checker and fix broken GSoC report link
- Accept 403/429/503 (publisher and doi.org bot-blocks / transient) so valid citation links don't fail; 404s and connection errors still fail - Drop Readme.md from the scan (its localhost example is not a real link) and ignore the SSL-broken eprints.drcmr.dk host - gsoc.md: the linked README no longer exists (404) — point to the project repository instead Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent e2c1de0 commit 884d94c

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/links.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ name: Check links
55
# navigation targets.
66
# 2. lychee checks external (http/https) links in the docs and mkdocs.yml.
77
# Hosts that require a login or block automated requests are listed in
8-
# .lycheeignore so they don't produce unreliable failures.
8+
# .lycheeignore. Publishers and doi.org commonly return 403/429 to bots even
9+
# for valid links, so those codes (plus transient 503) are accepted; genuine
10+
# 404s, dead domains, and connection errors still fail the build.
911

1012
on:
1113
push:
@@ -44,11 +46,10 @@ jobs:
4446
--no-progress
4547
--scheme http
4648
--scheme https
47-
--accept 200,206,429
49+
--accept 200,206,403,429,503
4850
--max-retries 2
4951
"docs/**/*.md"
5052
"mkdocs.yml"
51-
"Readme.md"
5253
fail: true
5354
env:
5455
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.lycheeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ slack\.com
33
docs\.google\.com
44
linkedin\.com
55
lnkd\.in
6+
eprints\.drcmr\.dk

docs/gsoc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ OSIPI participates in the Google Summer of Code (GSoC) program to expand its con
1515

1616
**Hanliang Xu** created a tool that automatically extracts and generates "ASL parameters" from DICOM and BIDS images. This tool is designed to assist researchers in easily describing standardized imaging parameters in their scientific publications. This work is related to TF4.1.
1717

18-
See the [tool here](https://osipi.ismrm.org/task-forces/tf4-1/asl-methods-generator/). [Read the full report](https://github.com/Hanliang-Xu/Hanliang-Xu.github.io/blob/main/README.md).
18+
See the [tool here](https://osipi.ismrm.org/task-forces/tf4-1/asl-methods-generator/). [View the project repository](https://github.com/Hanliang-Xu/Hanliang-Xu.github.io).
1919

2020
### Setting up a framework for large-scale development
2121

0 commit comments

Comments
 (0)