Skip to content

Commit 33e6e73

Browse files
fix(migrate): edit link and tips
1 parent 8d31801 commit 33e6e73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

migrate/migrate-bot.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,12 @@ async function createPullRequest(
330330

331331
const prBody = `> 由 ${MODEL_NAME}${url} 自动迁移
332332
>
333-
> 📝 [编辑此页面](${getRelativeMDXPath(url)})
333+
> 📝 [编辑此页面](https://github.com/cppdoc-cc/cppdoc/edit/${branchName}/${getRelativeMDXPath(url)})
334334
335335
<small>Close #${issue.number}</small>
336336
337337
${imageUrl ? `![Text Diff](${imageUrl})` : "(无文本差异图像)"}
338+
<small>绿色:迁移后词汇出现次数大于迁移前;红色:迁移后词汇出现次数小于迁移前。</small>
338339
`;
339340

340341
const { execSync } = await import("child_process");

0 commit comments

Comments
 (0)