anomalyco / anomalyco/opencode

docs: internal links target missing or incorrect anchors

Open
#44,335 0 comments 0 reactions 1 assignee View on GitHub

@Hona is already working on this.

Since Aug 23, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
Avg merge
7h 2m
Merged PRs (30d)
384

Description

Description

Three links in the English documentation point to missing or incorrect section anchors:

  • models.mdx links custom providers to /docs/providers#custom, but the generated heading ID is custom-provider.
  • network.mdx links port and hostname flags to /docs/cli#run, which opens the GitHub agent run subsection; those flags are under the TUI section (#tui).
  • permissions.mdx links opencode run to /docs/cli#run, which also opens the GitHub agent subsection; the generated ID for the top-level opencode run command is run-1.
Plugins

None

OpenCode version

n/a (documentation)

Steps to reproduce
  1. Build the docs site with bun run --cwd packages/web build.
  2. Open the Models, Network, or Permissions page.
  3. Follow the links described above.
  4. Observe that the first target does not exist and the two #run links open the wrong command section.
Screenshot and/or share link

n/a

Operating System

n/a

Terminal

n/a

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.