8000 Update links.yml to check both branches by glenn-jocher Β· Pull Request #7 Β· ultralytics/docs Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update links.yml to check both branches #7

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

Merged
merged 6 commits into from
Oct 21, 2023
Merged

Conversation

glenn-jocher
Copy link
Member
@glenn-jocher glenn-jocher commented Oct 21, 2023

copilot:all

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhanced link-checking workflow for GitHub documentation πŸš€

πŸ“Š Key Changes

  • πŸ”„ Workflow now triggers on pull requests, ensuring link checks before merging.
  • 🌐 Link checking has been expanded to include two branches: main and gh-pages.
  • 🚦 Added strategy matrix for testing multiple branches.
  • πŸ—‚οΈ Specific reference to the branch in the 'Checkout code' step using the strategy matrix.
  • πŸ›‘ Updated the link checker (lychee) to also exclude 'fonts.gstatic.com' from tests.

🎯 Purpose & Impact

  • πŸ”— Ensures documentation links are valid more frequently, preventing broken links.
  • πŸ”„ Allows maintainers to catch link issues earlier in the development cycle.
  • πŸ“š Provides a smoother experience for users by making sure documentation links direct them accurately.
  • βš™οΈ Overall, contributes to maintaining a high quality and reliability of the project's documentation.

@glenn-jocher glenn-jocher merged commit d24296b into main Oct 21, 2023
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch October 21, 2023 15:56
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
0