Add a workflow to check links in docs are valid#5273
Open
GarethCabournDavies wants to merge 7 commits intogwastro:masterfrom
Open
Add a workflow to check links in docs are valid#5273GarethCabournDavies wants to merge 7 commits intogwastro:masterfrom
GarethCabournDavies wants to merge 7 commits intogwastro:masterfrom
Conversation
Contributor
There was a problem hiding this comment.
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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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