Skip to content

docs: preserve version-relative contributor links - #17

Closed
tisonkun wants to merge 2 commits into
mainfrom
codex/release-readiness-0.1.0
Closed

docs: preserve version-relative contributor links#17
tisonkun wants to merge 2 commits into
mainfrom
codex/release-readiness-0.1.0

Conversation

@tisonkun

@tisonkun tisonkun commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Outcome

Closed as a false positive after comparing the published behavior with datasketches-rust and inspecting crates.io's README renderer.

The original change replaced the repository-relative contributor link with a URL pinned to main. That makes the immediate crates.io target exist, but lets documentation for an older release silently change or disappear with the default branch. The follow-up commit restores the relative link, leaving this branch with no net diff from main.

Evidence

  • datasketches-rust keeps CHANGELOG.md and CONTRIBUTING.md relative in its root README.
  • crates.io currently rewrites those links for datasketches 0.5.0-rc.1 beneath the package's datasketches/ directory, where the files do not exist.
  • crates.io's renderer combines .cargo_vcs_info.json's package path with the packaged README path and always emits GitHub blob/HEAD URLs.
  • serde-shape shares one root README across two packages in sibling subdirectories. No single relative path can resolve to the repository root from all three source/rendering contexts.

A complete crates.io workaround would require duplicated or relocated READMEs/contributor guides, symlink behavior, or generated packaging content. None is justified for this release solely to make this link clickable, so the version-relative repository documentation remains the source of truth.

Commits

  • c110047 docs: keep the packaged contributor link valid
  • d2f359e docs: restore the version-relative contributor link

The second commit intentionally reverses the first without rewriting history or force-pushing.

Why: crates.io resolves relative README links from the serde-shape package directory, but CONTRIBUTING.md lives at the repository root. Use the canonical repository URL so readers of the published crate do not land on a missing file.
Why: a link pinned to the default branch can silently change for readers of older releases. Keep the repository-relative link used by the project documentation instead of trading version stability for a crates.io rendering workaround.
@tisonkun tisonkun changed the title docs: keep packaged release links valid docs: preserve version-relative contributor links Sep 1, 2026
@tisonkun tisonkun closed this Sep 1, 2026
@tisonkun
tisonkun deleted the codex/release-readiness-0.1.0 branch September 1, 2026 03:42
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