Skip to content

Remove trailing slashes and update redirected Ultralytics URLs - #50

Merged
pderrenger merged 1 commit into
mainfrom
no-trailing-slash-urls
Aug 20, 2026
Merged

Remove trailing slashes and update redirected Ultralytics URLs#50
pderrenger merged 1 commit into
mainfrom
no-trailing-slash-urls

Conversation

@pderrenger

@pderrenger pderrenger commented Aug 20, 2026

Copy link
Copy Markdown
Member

Normalizes Ultralytics link formatting across the repo docs and refreshes one redirected link.

Trailing slashes (11 removed, 3 files)

Removed the terminating path slash from every ultralytics.com / *.ultralytics.com URL. Only slashes that terminate a path were touched — never path separators.

  • README.md (4): www.ultralytics.com/, community.ultralytics.com/, docs.ultralytics.com/datasets/classify/imagenet/, docs.ultralytics.com/help/contributing/
  • CODE_OF_CONDUCT.md (5): /help/contributing/, /help/CI/, /help/FAQ/, /help/code-of-conduct/, /help/
  • CONTRIBUTING.md (2): /help/contributing/, community.ultralytics.com/

All eight distinct destinations were re-checked serially and return HTTP 200 in their slashless form.

Redirect refresh (1 accepted)

  • https://reddit.com/r/ultralytics -> https://www.reddit.com/r/ultralytics/ (permanent 301 apex -> www; this is also the exact form used in the canonical ultralytics/ultralytics README, so it keeps the social badge row consistent across repos).

Deliberately not changed

  • https://ultralytics.com/license header on every source file — no trailing slash, and these strings are owned by Ultralytics Actions.
  • https://ultralytics.com/bilibili — vanity shortlink, meant to stay a redirect.
  • server=https%3A%2F%2Fcommunity.ultralytics.com inside the shields.io Forums badge — URL-encoded parameter, left byte-identical (only the badge's link target was changed).
  • Non-Ultralytics links (opensource.guide/, discord.com/invite/ultralytics, Apple docs-assets checkpoint URLs, GitHub links) — out of scope for the slash sweep and no redirects proposed.
  • LICENSE, LICENSE_weights_data, ACKNOWLEDGMENTS, ios_app/ACKNOWLDGEMENTS — legal/attribution records, skipped.

Notes

  • The redirect scan covered 52 unique URLs across .md, .py, .toml, .yml, .sh and .swift sources; only the Reddit one was a genuine move. No dead links were flagged.
  • https://www.reddit.com/r/ultralytics/ answers 403 to curl, which is Reddit's standard bot blocking rather than a broken link; the page is live in a browser.
  • Diff is URL text only — no code, config, or behavior changes. prettier@3.8.5 --print-width 120 reports all three files already formatted, and codespell is clean.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Updated repository documentation links by removing trailing slashes from Ultralytics URLs and changing the Reddit link to its canonical www destination.

📊 Key Changes

  • Normalized 11 trailing-slash Ultralytics URLs across README.md, CODE_OF_CONDUCT.md, and CONTRIBUTING.md.
  • Updated the Reddit badge link from reddit.com/r/ultralytics to www.reddit.com/r/ultralytics/.
  • Kept URL-encoded badge parameters, source-file license headers, vanity links, legal records, and non-Ultralytics URLs unchanged.

🎯 Purpose & Impact

  • Documentation links now use consistent slashless Ultralytics URL formatting, while the Reddit badge points to the canonical redirected destination.
  • No user-facing change to code, configuration, or runtime behavior.

@UltralyticsAssistant UltralyticsAssistant added the documentation Improvements or additions to documentation label Aug 20, 2026
@UltralyticsAssistant

Copy link
Copy Markdown
Member

👋 Hello @pderrenger, thank you for submitting a ultralytics/mobileclip 🚀 PR! This automated message confirms your contribution was received, and an Ultralytics engineer will assist with the review. To ensure a seamless integration of your work, please review the following checklist:

  • Define a Purpose: Clearly explain the purpose of your fix or feature in your PR description, and link to any relevant issues. Ensure your commit messages are clear, concise, and adhere to the project's conventions.
  • Synchronize with Source: Confirm your PR is synchronized with the ultralytics/mobileclip main branch. If it's behind, update it by clicking the 'Update branch' button or by running git pull and git merge main locally.
  • Ensure CI Checks Pass: Verify all Ultralytics Continuous Integration (CI) checks are passing. If any checks fail, please address the issues.
  • Update Documentation: Update the relevant documentation for any new or modified features.
  • Add Tests: If applicable, include or update tests to cover your changes, and confirm that all tests are passing.
  • Sign the CLA: Please ensure you have signed our Contributor License Agreement if this is your first Ultralytics PR by writing "I have read the CLA Document and I sign the CLA" in a new message.
  • Minimize Changes: Limit your changes to the minimum necessary for your bug fix or feature addition. "It is not daily increase but daily decrease, hack away the unessential. The closer to the source, the less wastage there is." — Bruce Lee

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 UltralyticsAssistant left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 PR Review

Made with ❤️ by Ultralytics Actions

LGTM. Reviewed all three changed documentation files and the updated URL targets. The changes are limited to URL normalization and the Reddit redirect refresh; no concrete behavioral, compatibility, or maintainability issues were found.

@pderrenger
pderrenger merged commit 6155a9a into main Aug 20, 2026
9 checks passed
@pderrenger
pderrenger deleted the no-trailing-slash-urls branch August 20, 2026 19:48
@UltralyticsAssistant

Copy link
Copy Markdown
Member

🎉 PR #50 has been merged—thank you, @pderrenger, for improving the consistency of our documentation links!

“The details are not the details. They make the design.” — Charles Eames

Your updates normalized Ultralytics URLs and aligned the Reddit badge with its canonical destination, with no changes to code or runtime behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants