Skip to content

Add lychee link checking and fix broken links - #529

Merged
Clare72 merged 2 commits into
masterfrom
resources-links-check
Oct 26, 2026
Merged

Clare72 merged 2 commits into
masterfrom
resources-links-check

Conversation

@Clare72

@Clare72 Clare72 commented Oct 26, 2026

Copy link
Copy Markdown

Summary

  • Link checking with lychee (lychee.toml + .github/workflows/check_links.yml):
    • PRs: only links on lines the PR adds or modifies are checked, so existing breakage doesn't block unrelated PRs.
    • Weekly (Mon 06:00 UTC) / manual: all of content/ is checked, and a single "Broken links report" issue is opened or updated if anything fails.
    • Only external http(s) links are checked; Hugo root-relative links (e.g. /docs/...) are skipped. 403/429 are accepted, since many publishers block bots (an invalid DOI still 404s at doi.org). LinkedIn and the POST-only MCP endpoint are excluded.
  • Resources page: new "Other Useful Links" section with From Sight to Action.
  • Broken link fixes:
    • Partner logos from v2.virtualflybrain.org (now 404) restored from the Wayback Machine into static/images/logos/.
    • Updated staff profile links (Edinburgh Research Explorer, Cambridge Zoology/Genetics, GitHub for Huseyin Kir).
    • vfb_connect.readthedocs.io → vfb-connect.readthedocs.io.
    • Geppetto: paper link → DOI, dead live demo removed, dev board → GitHub issues, Takahashi thesis → Wayback capture.
    • Removed the flybrain-ndb source code link (repo is private).

Known remaining failures

flycellatlas.org (connection refused) and flycircuit.tw (timeout) are left as-is for now; they'll appear in the first weekly report if still down.

Test plan

  • Ran lychee locally over all of content/: 21 errors → only the flycellatlas/flycircuit failures remain.
  • Simulated the PR step locally: passes on this branch's changes; fails with the correct file name when a broken link is added.
  • Confirm the restored logos render on the About → Members and Collaborators pages in the deploy preview.

🤖 Generated with Claude Code

Clare72 and others added 2 commits October 26, 2026 07:53
- Add lychee.toml and a Check Links workflow: PRs check changed
  Markdown files under content/; a weekly/manual run checks all of
  content/ and opens or updates a "Broken links report" issue.
- Restore partner logos (v2.virtualflybrain.org now 404s) from the
  Wayback Machine into static/images/logos/.
- Update moved staff profile links, vfb-connect docs URL, Geppetto
  paper/board/demo links, and archive link for the Takahashi thesis.
- Add From Sight to Action under a new Other Useful Links section
  on the Resources page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- PR link check now only checks links on lines the PR adds or
  modifies; the weekly run still covers all of content/.
- Use the 2022-01-21 Wayback capture for the Takahashi thesis.
- Remove the flybrain-ndb source link (the repo is private).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Clare72
Clare72 merged commit 3a69420 into master Oct 26, 2026
1 check passed
@Clare72
Clare72 deleted the resources-links-check branch October 26, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant