Repository navigation
fix: align navigation checks and move OAuth docs to /oauth - #255
Conversation
docs.json renamed the Automation tab to Agents and added the Add Postiz to your app tab, but tabPrefixes in check-docs.mjs still listed Automation, so any PR that touches docs.json failed the structure check with "tab has no path prefix rule" (main itself fails the full check). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (6)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughOAuth documentation links now use ChangesOAuth documentation paths
Agents tab path mapping
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The legacy OAuth URL redirects to the moved guide, updated links and navigation point to it, and the checker’s OAuth and Agents prefix rules match the navigation. No merge-blocking issue is evident. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 5 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
The navigation uses the Agents and Add Postiz to your app tabs, but the documentation checker still expected Automation and had no rule for the app tab. This caused structure checks to fail whenever a PR touched
docs.json.Update the checker to recognise Agents with the existing
cli/andmcp/prefixes. Move OAuth documentation from/public-api/oauthto/oauth, update its navigation entry and all incoming documentation links, and give Add Postiz to your app its ownoauthprefix rule. A permanent redirect preserves existing links to/public-api/oauth.Validation:
npm run checkandnpm run check:changedpass across all 182 documentation files;git diff --checkpasses.Summary by CodeRabbit
/oauthaddress./oauth, so existing links continue to work.