docs: fix internal section links - #44352
Open
xgbtxy wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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--portand--hostnameare documented. - Fix Permissions page link to the top-level
opencode runcommand anchor (/docs/cli#run-1) rather than the GitHub agentrunsubsection.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #44335
Type of change
What does this PR do?
Fixes three English documentation links that target missing or incorrect generated section IDs:
#custom-provider.opencode runpermission 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 buildbun typecheck(Ubuntu 24.04, Bun 1.3.14; 30/30 packages passed)hrefand matching targetidgit diff --checkScreenshots / recordings
Not applicable; documentation-only link fixes.
Checklist