-
Notifications
You must be signed in to change notification settings - Fork 1
Implement comprehensive link checker with image focus and CI/CD integration #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ration Co-authored-by: dannystaple <[email protected]>
… workflows Co-authored-by: dannystaple <[email protected]>
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports |
@@ -0,0 +1,15 @@ | |||
FROM ubuntu:22.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the copy of this linkchecker folder from the _drafts folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! Removed the outdated linkchecker copy from _drafts/linkchecker/
since the comprehensive implementation is now in .github/linkchecker/
. Commit c0a7eed
Co-authored-by: dannystaple <[email protected]>
This PR implements a comprehensive link checking system for the OrionRobots website with a focus on detecting broken image links and internal link issues, addressing the need for automated link validation as outlined in the issue.
Key Features
🎯 Image-Focused Link Checking
🐳 Docker Integration
docker-compose.yml
using themanual
profile🚀 Multiple Usage Options
./scripts/local_linkcheck.sh
script for manual executionlink-check
label to pull requestsdocker compose --profile manual up broken_links
📊 Professional Reporting
Implementation Details
The solution builds upon the existing draft linkchecker setup in
_drafts/linkchecker/
and enhances it significantly:linkchecker/filter_csv.py
) that categorizes links and generates rich HTML reportslinkchecker/linkchecker.conf
) optimized for the OrionRobots siteCI/CD Integration
Nightly Link Checking:
PR-Based Link Checking:
link-check
Usage Examples
The implementation addresses all requirements from the issue:
Fixes #216.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.