Replace operate/ skipPatterns with real URL redirects#4986
Merged
shannonbradshaw merged 1 commit intoviamrobotics:mainfrom Apr 20, 2026
Merged
Replace operate/ skipPatterns with real URL redirects#4986shannonbradshaw merged 1 commit intoviamrobotics:mainfrom
shannonbradshaw merged 1 commit intoviamrobotics:mainfrom
Conversation
The operate-removal PR's skipPatterns silenced the no-more-404 plugin
without actually redirecting the URLs — users with bookmarked links
would still hit 404s. Replace with proper [[redirects]] rules per
~/viam/code-map/operate-removal-plan.md.
- Remove 17 paths from skipPatterns (keep only /tags/, which is Hugo
auto-generated and legitimately unredirectable)
- Add ~50 specific [[redirects]] entries:
- operate/hello-world/, operate/mobility/, operate/get-started/ paths
- operate/modules/ (basics, deploy-module, advanced/module-naming,
create-module/*, other-hardware/*, supported-hardware/X for 14
components, orted-hardware/* typo paths)
- operate/reference/{module-configuration,naming-modules,
services/frame-system/frame-config}
- SLAM URLs (services/slam/, mobility/slam/, operate/reference/services/slam/)
redirect to /navigation/
- Old IA paths (architecture/, internals/, components/camera/calibrate/,
components/movement-sensor/set-up-base-station/)
- Old micro-rdk paths (build/micro-rdk/X, micro-rdk/X for 8 component types)
- Long-deleted tutorials (build-a-mock-robot, configure-a-camera, etc.)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for viam-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
1 task
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.

Summary
Production deploy is failing because the operate-removal PR (#4983) used `skipPatterns` to silence the no-more-404 plugin instead of writing real redirects. Skipping just hides the warning — users with bookmarked URLs still hit 404s.
This PR replaces the skipPatterns with proper `[[redirects]]` rules using destinations from `~/viam/code-map/operate-removal-plan.md`.
What changed
skipPatterns — kept only `/tags/` (Hugo auto-generates these from frontmatter and they legitimately come and go with content). Removed 17 other entries that masked real 404s.
Added ~50 redirect rules for:
Test plan
🤖 Generated with Claude Code