Skip to content

docs: fix broken /provider fragment anchors in slash-commands.md#530

Closed
jimpablo wants to merge 1 commit into
MoonshotAI:mainfrom
jimpablo:docs/fix-provider-fragment-anchors
Closed

docs: fix broken /provider fragment anchors in slash-commands.md#530
jimpablo wants to merge 1 commit into
MoonshotAI:mainfrom
jimpablo:docs/fix-provider-fragment-anchors

Conversation

@jimpablo

@jimpablo jimpablo commented Jun 8, 2026

Copy link
Copy Markdown

Problem

slash-commands.md (EN + ZH) links to providers.md#provider-与供应商管理, but this fragment does not exist on the target page.

  • EN: Uses a Chinese fragment for an English page; the correct anchor is #provider-—-interactive-provider-management
  • ZH: Fragment is incomplete (missing em-dash and 交互式); the correct anchor is #provider-—-交互式供应商管理

Same root cause as #518 (Chinese fragment in EN docs) but in different files. Verified against VitePress build output.

What changed

Fixed 2 fragment anchors, 1 per locale (EN + ZH). No other content changed.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works. (N/A: docs-only fix; verified with VitePress build.)
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Copilot AI review requested due to automatic review settings June 8, 2026 03:55
@changeset-bot

changeset-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 82413eb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI 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.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Update documentation links for the /provider slash command to point to the correct “interactive provider management” section in the providers configuration docs.

Changes:

  • Fix the providers.md anchor in the English /provider command reference.
  • Fix the providers.md anchor in the Chinese /provider command reference.

Reviewed changes

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

File Description
docs/zh/reference/slash-commands.md Updates /provider link target anchor to the interactive provider management section.
docs/en/reference/slash-commands.md Updates /provider link target anchor to the interactive provider management section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

| `/login` | — | Select an account or platform and log in: Kimi Code uses OAuth device-code flow; Kimi Platform uses API key login | No |
| `/logout` | — | Clear credentials for the currently selected account | No |
| `/provider` | — | Open the interactive provider manager to view, add, and remove configured providers. See [Platforms & Models — `/provider` and provider management](../configuration/providers.md#provider-与供应商管理) | Yes |
| `/provider` | — | Open the interactive provider manager to view, add, and remove configured providers. See [Platforms & Models — `/provider` and provider management](../configuration/providers.md#provider-—-interactive-provider-management) | Yes |
| `/login` | — | 选择账号或平台并登录:Kimi Code 走 OAuth 验证码流程,Kimi Platform 通过 API 密钥登录 | 否 |
| `/logout` | — | 清除当前所选账号的凭据 | 否 |
| `/provider` | — | 打开交互式供应商管理器,查看、添加和删除已配置的供应商。详见[平台与模型 — `/provider` 与供应商管理](../configuration/providers.md#provider-与供应商管理) | 是 |
| `/provider` | — | 打开交互式供应商管理器,查看、添加和删除已配置的供应商。详见[平台与模型 — `/provider` 与供应商管理](../configuration/providers.md#provider-—-交互式供应商管理) | 是 |
@jimpablo jimpablo force-pushed the docs/fix-provider-fragment-anchors branch from 7bffa2d to 82413eb Compare June 9, 2026 06:01
@jimpablo

jimpablo commented Jun 9, 2026

Copy link
Copy Markdown
Author

Consolidated into #578, which collects all the broken-anchor / cross-reference link fixes into a single PR for easier review. Closing this in favor of that one.

@jimpablo jimpablo closed this Jun 9, 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.

2 participants