docs: fix broken Next steps link in hooks.md#528
Conversation
|
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the “Next steps” documentation links in the Hooks customization docs to point to the general configuration file reference (instead of the #hooks anchor) and adjusts the accompanying descriptions in both English and Chinese.
Changes:
- Updated the “Configuration files/配置文件” link target from
config-files.md#hookstoconfig-files.md - Revised the link descriptions to refer to overall
config.tomlfields rather than specifically[[hooks]]
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| docs/zh/customization/hooks.md | Updates “Next steps” configuration reference link and description (ZH) |
| docs/en/customization/hooks.md | Updates “Next steps” configuration reference link and description (EN) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ## Next steps | ||
|
|
||
| - [Configuration files](../configuration/config-files.md#hooks) — Full field reference for `[[hooks]]` in `config.toml` | ||
| - [Configuration files](../configuration/config-files.md) — full reference for `config.toml` fields |
| ## Next steps | ||
|
|
||
| - [Configuration files](../configuration/config-files.md#hooks) — Full field reference for `[[hooks]]` in `config.toml` | ||
| - [Configuration files](../configuration/config-files.md) — full reference for `config.toml` fields |
| ## 下一步 | ||
|
|
||
| - [配置文件](../configuration/config-files.md#hooks) — `[[hooks]]` 在 `config.toml` 中的完整字段声明 | ||
| - [配置文件](../configuration/config-files.md) — `config.toml` 各字段的完整说明 |
|
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. |
Problem
hooks.md "Next steps" links to
config-files.md#hooks, but config-files.md has no## hookssection. The#hooksanchor does not exist, so the link does not scroll to any section.What changed
Removed the broken
#hooksfragment and updated the description to match the style used by other pages linking to config-files.md (e.g. data-locations.md). 2 files, 2 lines changed (EN + ZH).Checklist
gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.