Skip to content

Fix link checker - #113

Merged
samcunliffe merged 35 commits into
mainfrom
sc/fix-link-checker
Sep 15, 2026
Merged

samcunliffe merged 35 commits into
mainfrom
sc/fix-link-checker

Conversation

@samcunliffe

@samcunliffe samcunliffe commented Sep 11, 2026

Copy link
Copy Markdown
Member
  • Exclude some genuinely broken links. @dpshelio Trinity College's OSPO pages are now 404.
  • A problem with the base path of the site when we check the built output.
  • A whole bunch of broken things in the upstream theme added as exclusion rules.
  • Added a nice Link checker summary comment and a nice "You've fixed it" comment.

The missing yearly reports link will be fixed in #90

@samcunliffe samcunliffe changed the title Fix ARC festival link. Fix link checker Sep 11, 2026
@samcunliffe
samcunliffe force-pushed the sc/fix-link-checker branch 2 times, most recently from 8e41900 to d37be31 Compare September 11, 2026 11:27
Comment thread lychee.toml Outdated
Comment thread .github/workflows/build.yml Outdated
@UCL UCL deleted a comment from github-actions Bot Sep 11, 2026
@samcunliffe

Copy link
Copy Markdown
Member Author

This is a horrible mess of too many testing commits. Be sure to squash!

@samcunliffe
samcunliffe marked this pull request as ready for review September 11, 2026 13:02
@samcunliffe
samcunliffe requested a lite review from Copilot September 11, 2026 13:04
@samcunliffe samcunliffe self-assigned this Sep 11, 2026
@samcunliffe samcunliffe added the bug Something isn't working label Sep 11, 2026

This comment was marked as resolved.

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown

The link checker has passed successfully 🎉! No broken links were found.

@samcunliffe

Copy link
Copy Markdown
Member Author

When this is merged, I'm going to make these checks required.

Comment thread _data/ospo/proposals.yml
link:
funding: UCL Research Culture Seed Funds
link_call: https://www.ucl.ac.uk/research/strategy-environment/research-culture-ucl/get-involved/research-culture-seed-fund
link_call:

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2026-09-15 at 10 56 38

The rendered page links to itself. Which is probably out of scope to fix for this PR. If a link_call is not provided, it should simply write the name of the cal in plain text.

@samcunliffe samcunliffe added website Something related to the Open Source @ UCL website. housekeeping Tidying up, fixing typos, and general maintenance labels Sep 15, 2026

@paddyroddy paddyroddy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of work here, thanks for fixing

Comment thread lychee.toml
Comment on lines +13 to +15
# Some parts of the upstream theme cause errors because they don't prepend https. We don't fix the theme because
# it will be updated to the new branding soon. So just suppress all of this for now. Remove when the theme is
# updated. All social media links on every theme-rendered page are like this!!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is annoying the lychee seems to complain about so many URLs

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Yes it is. Also the theme is starting to work against us.

@samcunliffe
samcunliffe merged commit c1e2003 into main Sep 15, 2026
5 checks passed
@samcunliffe
samcunliffe deleted the sc/fix-link-checker branch September 15, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working housekeeping Tidying up, fixing typos, and general maintenance website Something related to the Open Source @ UCL website.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants