Skip to content

docs: fix internal section links - #44352

Open
xgbtxy wants to merge 1 commit into
anomalyco:devfrom
xgbtxy:fix-doc-anchors
Open

docs: fix internal section links#44352
xgbtxy wants to merge 1 commit into
anomalyco:devfrom
xgbtxy:fix-doc-anchors

Conversation

@xgbtxy

@xgbtxy xgbtxy commented Aug 23, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #44335

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Fixes three English documentation links that target missing or incorrect generated section IDs:

  • Links custom-provider configuration to #custom-provider.
  • Links the Network page's port and hostname flags to the TUI section.
  • Links opencode run permission guidance to the top-level run command rather than the GitHub agent subcommand.

How did you verify your code works?

  • bun run --cwd packages/web build
  • bun typecheck (Ubuntu 24.04, Bun 1.3.14; 30/30 packages passed)
  • Verified the generated HTML contains each corrected href and matching target id
  • git diff --check

Screenshots / recordings

Not applicable; documentation-only link fixes.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Copilot AI lite review requested due to automatic review settings August 23, 2026 09:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates internal documentation links in the web docs so they target the correct generated heading anchors, aligning with the current IDs in cli.mdx and providers.mdx and resolving issue #44335.

Changes:

  • Fix Models page link to the “Custom provider” section anchor (/docs/providers#custom-provider).
  • Fix Network page link to the CLI “tui” section anchor (/docs/cli#tui) where --port and --hostname are documented.
  • Fix Permissions page link to the top-level opencode run command anchor (/docs/cli#run-1) rather than the GitHub agent run subsection.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/web/src/content/docs/permissions.mdx Updates opencode run link to the correct top-level CLI anchor (#run-1).
packages/web/src/content/docs/network.mdx Updates CLI flags link to the tui section (#tui) where --port/--hostname live.
packages/web/src/content/docs/models.mdx Updates custom provider link to the correct Providers section anchor (#custom-provider).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

docs: internal links target missing or incorrect anchors

2 participants