fix: point /docs command and config links to docs.altimate.sh#715
fix: point /docs command and config links to docs.altimate.sh#715anandgupta42 merged 2 commits intomainfrom
Conversation
The TUI "Open docs" command (`docs.open`) opened `https://altimate.ai/docs`, which is not the project's documentation site. The canonical docs live at `https://docs.altimate.sh` (per `README.md`, `docs/docs/CNAME`, `docs/mkdocs.yml`). The same wrong domain was also used in `config.ts` schema descriptions, the Cloudflare AI Gateway help text, the Anthropic system prompt, and `openapi.json` + generated SDK type files. The rewritten paths also needed a `/configure/` prefix to match the actual mkdocs site structure. All 5 target URLs were verified to return HTTP 200: - https://docs.altimate.sh - https://docs.altimate.sh/configure/config/ - https://docs.altimate.sh/configure/commands/ - https://docs.altimate.sh/configure/agents/ - https://docs.altimate.sh/configure/providers/ Closes #714
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughDocumentation URLs are updated across the codebase, transitioning from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
What does this PR do?
Fixes the TUI
/docscommand (and several config/help-text references) which pointed tohttps://altimate.ai/docs— not the project's docs site. The canonical docs live athttps://docs.altimate.sh(perREADME.md,docs/docs/CNAME,docs/mkdocs.yml).Updated references:
packages/opencode/src/cli/cmd/tui/app.tsx— "Open docs" command URLpackages/opencode/src/config/config.ts— config precedence comment +command/agentschema descriptionspackages/opencode/src/cli/cmd/providers.ts— Cloudflare AI Gateway help textpackages/opencode/src/session/prompt/anthropic.txt— Anthropic system prompt docs linkpackages/sdk/openapi.json+ generatedpackages/sdk/js/src/**/gen/types.gen.ts—command/agentschema descriptionsAlso corrected the paths (e.g.
/commands→/configure/commands/) to match the actual mkdocs site structure.Type of change
Issue for this PR
Closes #714
How did you verify your code works?
curl -L -o /dev/null -w '%{http_code}' <url>against every updated URL — all return HTTP 200:https://docs.altimate.shhttps://docs.altimate.sh/configure/config/https://docs.altimate.sh/configure/commands/https://docs.altimate.sh/configure/agents/https://docs.altimate.sh/configure/providers/bun run script/upstream/analyze.ts --markers --base main --strict→ok No upstream-shared files modified — no markers needed.typecheckpasses for all workspace packages (pre-push hook).Checklist
No tests added — this is a string-only URL correction with no logic changes. The target URLs were manually verified to return HTTP 200.
Summary by cubic
Points the TUI /docs command and all in-app docs links to https://docs.altimate.sh. Also fixes paths to /configure/* so users land on the right pages.
docs.opennow openshttps://docs.altimate.sh./configure/config/,/configure/commands/, and/configure/agents/./configure/providers/.Written for commit 344eb97. Summary will update on new commits.
Summary by CodeRabbit