Fix broken external links and add automated link checking#424
Fix broken external links and add automated link checking#424
Conversation
|
@copilot this PR will merge after #426. Change the base branch and re-evaluate your changes, as some of the changes (eg: "Converted 30+ internal documentation links from .md to .html extension") do not align with how docfx works. Additionally, when the workflow is run in the context of a PR, include a table of newly-broken links as a single comment on that PR that is updated on subsequent runs. Issues should only be created if the context was NOT a PR |
Addressed in cf944da:
I can't change the base branch myself, but I see you've already done that. |
Summary
|
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
TimHess
left a comment
There was a problem hiding this comment.
@copilot update the check-links workflow to filter out links from the files in /docs/api. Read the output from the workflow in #424 (comment) and fix as many of those redirects as you can. Also check if there's an easy way to handle rate limiting and implement it if there is.
Done in 04a608b:
|
|
Done in 1b19072. Summary of changes: Workflow:
Broadcom links:
Samples:
Microsoft links:
Regarding redirect filtering: The |
…r links Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
…across 75 files Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
…soft links Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
…ning broken links Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
…-link Apps Manager, reduce redirect noise Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
…Hub repos, trailing slashes, dead links Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
…ture reference Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
…/versioning per review Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
… base branch) Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
bc40f88 to
8c34132
Compare
…inks in checker Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
Preview link: https://www-steeltoe-pr-424.azurewebsites.net
|
…Sign-On, restore Metric Registrar link, always post PR comment Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
Addresses broken external URLs across the documentation. Adds a lychee-based link checker workflow that runs on PRs and posts results as a comment.
Link checker workflow (
.github/workflows/check-links.yml)docs/api/(generated),docker://URIs, localhost, and known-dead hostnames--max-concurrency 5and--retry-wait-time 15Broken link fixes (~100 files)
docs.pivotal.ioanddocs.vmware.comlinks updated to currenttechdocs.broadcom.compaths for Spring Cloud Services → Application Services, SSO, CredHub, MySQL, Postgres, RabbitMQ, Redis/Valkey, GemFire Native Client, Metric Registrar, Volume Services, CSB (AWS/Azure/GCP), Apps Managerdocs.microsoft.com→learn.microsoft.com,docs.asp.net→learn.microsoft.com,visualstudio.com→visualstudio.microsoft.com; removed/en-us/locale prefixes and.htmlsuffixes where they cause redirectsprojects.spring.io/spring-cloud→spring.io/projects/spring-cloud-*; trailing slash fixesspring-cloud-samples/hystrix-dashboard→Netflix-Skunkworks/hystrix-dashboard,cf-platform-eng/mssql-server-broker→cloudfoundry-attic/mssql-server-broker,cloudfoundry-incubator→cloudfoundrycredhub-api.cfapps.io→docs.cloudfoundry.org/api/credhub/version/main/with corrected anchors (#_overwriting_credential_values,#_permissions)pivotal.io/platform-acceleration-lablinks removedtanzu.vmware.com/gemfire→vmware.com/products/...,tanzu.vmware.com/observability→broadcom.com/products/...,hhttpstypo,start.steeltoe.io/api/config/→/api/uiconfig/Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.