Skip to content

docs: fix the docs badge URL - #230

Merged
uniqueg merged 1 commit into
devfrom
docs/fix-badge-url
Oct 24, 2026
Merged

uniqueg merged 1 commit into
devfrom
docs/fix-badge-url

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Points the Read the Docs badge in README.md straight at https://app.readthedocs.org/projects/cloud-registry/badge/, the canonical URL in the RTD badge docs. The old readthedocs.org URL answers with a 307 redirect, on which GitHub's image proxy sometimes fails, so the badge did not always render. Without a version parameter the badge still shows the project's default version, as before (the SVG is byte-identical with and without ?version=latest). This was the only use of the old URL in the repository; links to cloud-registry.readthedocs.io are unchanged.

Feather lane (maintainer decision 2026-10-24): one-line URL change, no reviewer subagents, no wait for Sourcery or Copilot; merge once CI passes with no open conversations.

Verification

  • curl -I https://readthedocs.org/projects/cloud-registry/badge/: 307 to app.readthedocs.org; curl -I https://app.readthedocs.org/projects/cloud-registry/badge/: 200, image/svg+xml
  • pre-commit run --files README.md: passed
  • mkdocs build --strict: passed
  • CI: pending

Open questions

None.

Closes #229

🤖 Generated with Claude Code

Summary by Sourcery

Bug Fixes:

  • Update the README documentation badge to use Read the Docs’ canonical URL, avoiding redirect-related rendering failures.

Point the Read the Docs badge straight at app.readthedocs.org. The old
readthedocs.org URL answers with a 307 redirect, on which GitHub's
image proxy sometimes fails, so the badge did not always render.

Closes #229

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@uniqueg
uniqueg marked this pull request as ready for review October 24, 2026 14:12
@sourcery-ai

sourcery-ai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

A one-line documentation fix changes the Read the Docs badge target to the canonical URL, avoiding the old endpoint’s 307 redirect while preserving the existing default-version badge behavior.

File-Level Changes

Change Details Files
Update the README Read the Docs badge to use the canonical direct endpoint.
  • Replace the redirecting readthedocs.org badge URL with the app.readthedocs.org URL to improve reliable rendering through GitHub’s image proxy.
README.md

Assessment against linked issues

Issue Objective Addressed Explanation
#229 Update the README documentation badge to use the canonical Read the Docs badge URL directly, avoiding the redirect while preserving the default-version behavior. ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@codecov

codecov Bot commented Oct 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1c71c76) to head (35decc1).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #230   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines         1362      1362           
=========================================
  Hits          1362      1362           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg merged commit 870a3ef into dev Oct 24, 2026
19 checks passed
@uniqueg
uniqueg deleted the docs/fix-badge-url branch October 24, 2026 14:19
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.

docs: fix the docs badge URL

1 participant