Skip to content

fix: correct translated anchor fragments in zh/ja datasource-plugin#790

Merged
RiskeyL merged 1 commit into
mainfrom
fix/broken-link-0525
May 24, 2026
Merged

fix: correct translated anchor fragments in zh/ja datasource-plugin#790
RiskeyL merged 1 commit into
mainfrom
fix/broken-link-0525

Conversation

@RiskeyL
Copy link
Copy Markdown
Contributor

@RiskeyL RiskeyL commented May 24, 2026

Summary

Fix four broken anchors flagged by the CI internal link check (tools/check-links.py --internal) in the zh and ja datasource-plugin pages.

These pages link to tool-plugin section headings. The translation pipeline translated the link labels but left the anchor fragments in English (#4-prepare-tool-code, #2-complete-third-party-service-credentials). Because the zh/ja tool-plugin headings are translated, their generated slugs are localized, so the English fragments resolved to nonexistent anchors. The en page passed because its headings stay in English, which is why this only surfaced in the translated files.

Copilot AI review requested due to automatic review settings May 24, 2026 17:59
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented May 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
dify-core-product 🟢 Ready View Preview May 24, 2026, 6:01 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. documentation Improvements or additions to documentation labels May 24, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes broken internal anchor links in the Chinese and Japanese datasource-plugin docs by updating link fragments to match the localized heading slugs in the corresponding tool-plugin pages (as generated by the repo’s internal slugify() logic in tools/check-links.py).

Changes:

  • Update zh datasource-plugin links to use #4-准备工具代码 and #2-完善第三方服务凭据.
  • Update ja datasource-plugin links to use #4-ツールコードの準備 and #2-サードパーティサービス認証情報の完成.

Reviewed changes

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

File Description
zh/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin.mdx Updates two /tool-plugin#... anchor fragments to match the zh tool-plugin heading slugs.
ja/develop-plugin/dev-guides-and-walkthroughs/datasource-plugin.mdx Updates two /tool-plugin#... anchor fragments to match the ja tool-plugin heading slugs.

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

@RiskeyL RiskeyL merged commit eb80f64 into main May 24, 2026
4 checks passed
@RiskeyL RiskeyL deleted the fix/broken-link-0525 branch May 24, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants