Remove trailing slashes and update redirected Ultralytics URLs - #1325
Conversation
|
👋 Hello @pderrenger, thank you for submitting a
For more guidance, please refer to our Contributing Guide. Don't hesitate to leave a comment if you have any questions. Thank you for contributing to Ultralytics! 🚀 |
UltralyticsAssistant
left a comment
There was a problem hiding this comment.
🔍 PR Review
Made with ❤️ by Ultralytics Actions
LGTM. Reviewed all 12 changed files and the URL-only edits; no concrete bugs, compatibility regressions, or behavioral issues identified.
|
🎉 PR #1325 has been successfully merged—thank you, @pderrenger!
Your careful URL normalization and automotive solutions link update bring consistent formatting across the documentation and configuration while preserving URLs that require their existing forms. 🚀 |
Normalizes Ultralytics link hygiene across the historical HUB repository: no URL on
ultralytics.comor any*.ultralytics.comsubdomain keeps a terminating path slash, and links that permanently moved now point at their current destination.Trailing slashes (29 across 12 files)
Removed the terminating path slash only — path separators,
%2F-encoded URLs, and fragments/queries are untouched. Applied with a regex fixer validated against 17 positive and 19 negative cases before it ran (subdomains, protocol-relative, bare-host, fragment/query, sentence-final punctuation, markdown/HTML/backtick delimiters; negatives:github.com/ultralytics/..., emails,notultralytics.com,https%3A%2F%2Fbadge params,{placeholder}templates,/...ellipsis, and.../ultralytics.com/...inside another host's path).Representative changes:
https://docs.ultralytics.com/platform/->https://docs.ultralytics.com/platform(four issue templates)https://platform.ultralytics.com/andhttps://community.ultralytics.com/contact links inconfig.yml<a href="https://www.ultralytics.com/">logo anchors in all fiveexample_datasets/*/README.mdhttps://docs.ultralytics.com/datasets/obb/dota8/indota8.yamlhttps://docs.ultralytics.com/help/minimum-reproducible-example/inbug-report.ymlPost-run verification re-scanned every tracked text file: zero Ultralytics URLs retain a terminating slash.
Redirect refresh (1 accepted, 0 rejected of the proposals)
https://www.ultralytics.com/solutions/ai-in-automotive->https://www.ultralytics.com/solutions/computer-vision-in-automotive— verified 308 permanent, destination 200, same host, no locale/tracking/auth params.Deliberately left unchanged after review:
https://ultralytics.com/license(AGENTS.md) — Ultralytics Actions owns this header string; rewriting it towww.would desync the tool from its own output.https://ultralytics.com/discord(config.yml) — vanity shortlink whose target is an expiring invite.https://reddit.com/r/ultralytics— canonicalizes tohttps://www.reddit.com/r/ultralytics/, which re-adds a trailing slash.https://github.com/ultralytics/assets/raw/main/social/*.png—/raw/image srcs are a durable GitHub alias; resolving them toraw.githubusercontent.comchanges the role the URL plays.server=https%3A%2F%2Fcommunity.ultralytics.comparameter and the Chinese badge labels must stay byte-identical; only percent-encoding differs on resolution.links.yml— resolves to an expiring signedrelease-assets.githubusercontent.comURL.Dead links flagged (not changed, need a human)
Both are pre-existing and unrelated to this diff:
https://docs.ultralytics.com/datasets/humaninexample_datasets/coco8-human/coco8-human.yamlreturns 404. No direct successor exists (/datasets/detect/coco8-humanand/tasks/humanare also 404); only/datasetsresolves, which would be an index collapse, so the link is left as-is for a correct target.Page: https://hub.ultralytics.com/modelsinbug-report.ymlreturns 404 and forwards tohttps://platform.ultralytics.com/models, which is itself 404 for anonymous requests. It is a placeholder example inside the historical HUB bug-report form, so the HUB-specific deep link is left in place rather than rewritten to a Platform route that does not serve.Validation
npx prettier@3.8.5 --check --print-width 120 "**/*.{md,yml,yaml,json}"— clean..yml/.yamlfiles re-parsed successfully.🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Normalized Ultralytics URLs across repository documentation and configuration by removing trailing slashes and updating one permanently redirected automotive solutions link.
📊 Key Changes
dota8.yaml.https://www.ultralytics.com/solutions/ai-in-automotivetohttps://www.ultralytics.com/solutions/computer-vision-in-automotive.ultralytics.com/licenseheader, Discord vanity link, Reddit URL, GitHub raw asset URLs, badge parameters, and the signed release asset link.🎯 Purpose & Impact