Skip to content

Comments

Add a workflow to check links in docs are valid#5273

Open
GarethCabournDavies wants to merge 7 commits intogwastro:masterfrom
GarethCabournDavies:check_links
Open

Add a workflow to check links in docs are valid#5273
GarethCabournDavies wants to merge 7 commits intogwastro:masterfrom
GarethCabournDavies:check_links

Conversation

@GarethCabournDavies
Copy link
Contributor

Again, adding some minor bits into the CI checks, This should check whether the links in the docs (and a couple other places) are valid

Lovingly repurposed from GWOSC's workshop repo

Standard information about the request

This is a new feature

This change checks if changes are needed in documentation

This change follows style guidelines (See e.g. PEP8), has been proposed using the contribution guidelines

Motivation

We want to know ASAP if links in the docs have broken

  • The author of this pull request confirms they will adhere to the code of conduct

Copilot AI review requested due to automatic review settings February 2, 2026 11:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new GitHub Actions workflow to automatically check the validity of links in documentation files, helping to catch broken links early in the development process.

Changes:

  • Adds a new workflow that runs on push, pull request, and manual dispatch to validate links in documentation
  • Configures the lychee link checker to scan markdown, reStructuredText files, and a Jupyter notebook
  • Includes helpful failure messaging to guide users when link checks fail

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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