Skip to content

master: handle referenced image changes in AI docs sync#21789

Merged
ti-chi-bot[bot] merged 3 commits into
pingcap:masterfrom
qiancai:add-image-dealing-logic
Jul 9, 2026
Merged

master: handle referenced image changes in AI docs sync#21789
ti-chi-bot[bot] merged 3 commits into
pingcap:masterfrom
qiancai:add-image-dealing-logic

Conversation

@qiancai

@qiancai qiancai commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

What is changed, added or deleted? (Required)

Update the AI docs EN-to-ZH sync workflow to include changed image files that are referenced by ai/**/*.md, even when those images are outside the ai/ directory.

This PR also moves the source-file resolution logic into scripts/resolve-ai-docs-source-files.py so the workflow stays small and the image-reference logic is easier to test.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 9, 2026
@ti-chi-bot ti-chi-bot Bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 9, 2026
@qiancai qiancai self-assigned this Jul 9, 2026
@qiancai qiancai added the translation/no-need No need to translate this PR. label Jul 9, 2026
@ti-chi-bot ti-chi-bot Bot removed the missing-translation-status This PR does not have translation status info. label Jul 9, 2026
@qiancai qiancai added the area/docs-efficiency Indicates that the PR or issue belongs to improving docs work efficiency. label Jul 9, 2026
@qiancai

qiancai commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

/approve

@qiancai qiancai added the lgtm label Jul 9, 2026
@ti-chi-bot

ti-chi-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added the approved label Jul 9, 2026
@ti-chi-bot ti-chi-bot Bot merged commit 4e8e327 into pingcap:master Jul 9, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved area/docs-efficiency Indicates that the PR or issue belongs to improving docs work efficiency. lgtm size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant