Repository navigation
Update stale docs.viam.com links to canonical URLs - #1300
Merged
Naveed Jooma (njooma) merged 2 commits intoNov 3, 2026
Merged
Naveed Jooma (njooma) merged 2 commits into
Naveed Jooma (njooma) merged 2 commits into
Conversation
Jeremy Rose (jeremyrose-viam)
requested review from
Naveed Jooma (njooma) and
Ethan (stuqdog)
October 23, 2026 21:47
Contributor
|
Warning your change may break code samples. If your change modifies any of the following functions please contact @viamrobotics/fleet-management. Thanks!
|
Member
|
👋 Thanks for requesting a review from the team! We aim to review PRs within one business day. If this is urgent |
Mechanical find/replace: repoint docs.viam.com links that resolve only via redirect/alias (mostly the /dev/ prefix dropped in the docs site's April 2026 restructure) to their canonical current URL. Preserves the original #anchor whenever it's still valid on the destination page. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Jeremy Rose (jeremyrose-viam)
force-pushed
the
fix/stale-docs-viam-com-links
branch
from
October 23, 2026 21:59
a210319 to
b3037e8
Compare
Several stale links resolved to their canonical page but dropped a still-useful #anchor because the checker couldn't verify anchor validity across a path change. Restored anchors that genuinely exist (gripper is_moving -> ismoving, data-client's renamed UpdateBoundingBox method) and repointed three module-guide links that had fallen back to the wrong page in the restructure (upload/add-a- resource content now lives on deploy-a-module, not write-a-driver- module; namespace creation is documented under module-reference's organization-namespace section). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Ethan (stuqdog)
approved these changes
Oct 26, 2026
This was referenced Oct 26, 2026
Naveed Jooma (njooma)
merged commit Nov 3, 2026
49e71f9
into
viamrobotics:main
12 of 14 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Repoints
docs.viam.comlinks in docstrings and the README that resolve only via redirect/alias to their canonical current URL. 315 links across 31 files — 278 drop a/dev/prefix, 24 drop an/appendix/prefix, 12 are/operate/-path moves, plus 1 one-off page move. No code changes — every touched line is a docstring or README prose. Where a link had a#anchor, it's preserved whenever that anchor is still valid on the destination page (verified live), and dropped only where the destination genuinely lacks it.Why
The docs site moved its reference pages out from under
/dev/...to their current paths in an April 2026 restructure (viamrobotics/docs#4963), leaving the old paths as alias/redirect stubs; later content moves (/appendix/,/operate/) account for the rest. A nightly org-wide link checker (viamrobotics/docs#5170) has been flagging these as stale ever since — they still work for readers today via redirect, just no longer point at the canonical URL.How
Mechanical find/replace, no semantic changes. Each destination URL came from the docs site's own link-checker script (
check_org_docs_links.py), which already verified it resolves live (HTTP 200, not another redirect). Note: that checker's own stale-redirect classification doesn't check anchor validity when the path also changes, so its reported destination always drops the anchor — I separately verified each anchor against the live page and restored it where still valid, rather than relying on the checker's output as-is.Validation
Ran the pinned toolchain directly (
uv run make lint,make typecheck,ruff format --check) against this branch: all pass. A link-checker run against this branch drops viam-python-sdk'sdocs.viam.comfindings from 315 → 0.Refs viamrobotics/docs#5170
🤖 Generated with Claude Code