Skip to content

fix(console): link to v2 docs - #59679

Merged
thdxr merged 1 commit into
devfrom
docs-v2-links
Oct 27, 2026
Merged

thdxr merged 1 commit into
devfrom
docs-v2-links

Conversation

@thdxr

@thdxr thdxr commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Repoints the opencode.ai marketing pages and the desktop Help menu from the V1 docs (/docs) to the V2 docs (/v2/docs). The links use plain hrefs, like the header's Docs link, because the V2 docs are not localized and language.route would add a locale prefix.

Where Old New
Home "Read docs", FAQ "intro", footer "Docs", 404 "Docs", download FAQ "intro" /docs /v2/docs
Home privacy "privacy" /docs/enterprise/ /v2/docs/policies/ (no V2 enterprise page)
Home and download FAQ "local models" /docs/providers/#lm-studio /v2/docs/models/#local
Home FAQ "Learn more" (subscriptions) /docs/providers/#directory /v2/docs/providers/
Home FAQ "web" /docs/web /v2/docs/cli/web/
Download FAQ "web" /docs/cli/#web /v2/docs/cli/web/
Download IDE buttons (VS Code, Cursor, Zed, Windsurf, VSCodium) /docs/ide/ /v2/docs/cli/acp/ (no V2 IDE page)
Download GitHub, GitLab buttons /docs/github/, /docs/gitlab/ /v2/docs/cli/commands/#ci (no V2 page for either)
Desktop Help → Documentation https://opencode.ai/docs https://opencode.ai/v2/docs

Every target returns 200 on opencode.ai, and the #local and #ci anchors exist.

Visual

<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none" font-family="ui-monospace,monospace" font-size="14">
<style>
.o{animation:o 3s ease-in-out infinite}
.n{opacity:1;animation:n 3s ease-in-out infinite}
@keyframes o{0%,30%{opacity:.9}45%,85%{opacity:0}100%{opacity:.9}}
@keyframes n{0%,30%{opacity:0}45%,85%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.o{animation:none;opacity:0}.n{animation:none;opacity:1}}
</style>
<rect x="40" y="20" width="160" height="32" rx="8" stroke="currentColor" stroke-opacity=".35"/>
<text class="o" x="120" y="41" text-anchor="middle" fill="currentColor" text-decoration="line-through">/docs</text>
<text class="n" x="120" y="41" text-anchor="middle" fill="currentColor">/v2/docs</text>
</svg>

Added by the opencode bot (AI-generated).

Related: #54264

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Every new link target exists in the V2 docs source (services/www/src/docs/content), including the #local and #ci anchors. Using plain hrefs matches the header and the Zen and Go pages. I didn't serve the site or run the desktop app.

The public API is unchanged: these are only website and Help menu link targets.

I have no concerns.

Related: #54264

@thdxr
thdxr merged commit caebbcc into dev Oct 27, 2026
36 of 38 checks passed
@thdxr
thdxr deleted the docs-v2-links branch October 27, 2026 18:48
alsuren pushed a commit to alsuren/opencode that referenced this pull request Oct 28, 2026
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