Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions ci_scripts/report_preview_url.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,17 @@ done

if [ ${#output_lines[@]} -gt 0 ]; then
cat <<-EOF
> [!NOTE]
> 请等待 \`Docs-NEW\` 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。

<details>
<summary>📚 本次 PR 文档预览链接(点击展开)</summary>

以下是本次 PR 中变更文档的预览链接:
<table>
<tr>
<td>
ℹ️ <b>预览提醒</b><br>
请等待 <code>Docs-NEW</code> 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。
</td>
</tr>
</table>
Copy link
Member

Choose a reason for hiding this comment

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

诶?summary 里不能用 NOTE 么?

Copy link
Member

Choose a reason for hiding this comment

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

想起来了,确实有这回事

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

是的用不了,会被当成普通引用,用 html table 搞了一个比较显眼的


$(printf '%s\n' "${output_lines[@]}")

Expand Down