Skip to content

Commit fc75593

Browse files
opencodeclaude
andcommitted
docs(web): relink two shipped docs pages within the docs bundle, not to upstream (TKT-414 review)
mcp-servers.mdx and plugins.mdx used absolute https://opencode.ai/docs/... links where every other page in this same directory uses the established root-relative /docs/... convention. Both files ship inside the embedded docs bundle TKT-391 serves at this build's own /docs -- the absolute form reopened the loop TKT-397/#47 closed one level down: the model is told to trust this instance's own docs, and one level inside them a link sent the reader back to upstream. Mechanical fix, matching the convention already used by every sibling page (config.mdx, sdk.mdx, etc.). Per Ethan/Henry's review: the READMEs and install script from a separate audit (anomalyco#220) are explicitly out of scope here -- a product decision for the consolidation round, not touched. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01M1CJmqai46ihahdKMVNB27
1 parent db2a53c commit fc75593

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/web/src/content/docs/mcp-servers.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Certain MCP servers, like the GitHub MCP server, tend to add a lot of tokens and
2323

2424
## Enable
2525

26-
You can define MCP servers in your [OpenCode Config](https://opencode.ai/docs/config/) under `mcp`. Add each MCP with a unique name. You can refer to that MCP by name when prompting the LLM.
26+
You can define MCP servers in your [OpenCode Config](/docs/config) under `mcp`. Add each MCP with a unique name. You can refer to that MCP by name when prompting the LLM.
2727

2828
```jsonc title="opencode.jsonc" {6}
2929
{

‎packages/web/src/content/docs/plugins.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export const MyPlugin = async ({ client }) => {
331331
}
332332
```
333333

334-
Levels: `debug`, `info`, `warn`, `error`. See [SDK documentation](https://opencode.ai/docs/sdk) for details.
334+
Levels: `debug`, `info`, `warn`, `error`. See [SDK documentation](/docs/sdk) for details.
335335

336336
---
337337

0 commit comments

Comments
 (0)