docs(site): 文档站首页与 README 加入公众号二维码 - #565
Conversation
- 首页末尾新增「社区」一节:GitHub Issues、Discussions、Telegram、QQ 群与公众号 - 公众号二维码放在 docs/public/community/,用 firlab 主题的 QrCode 组件显示
- 中英文 README 的社区列表加入公众号「六月水蓝」 - 二维码引用 docs/public/community/ 下的同一张图片
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aaa3465ac0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - 使用交流:[GitHub Discussions](https://github.com/sunerpy/pt-tools/discussions)、[Telegram 群](https://t.me/+7YK2kmWIX0s1Nzdl)、QQ 群 274984594 | ||
| - 微信公众号:六月水蓝 | ||
|
|
||
| <QrCode src="/community/wechat-official-account.jpg" alt="微信公众号「六月水蓝」的二维码" caption="微信扫码关注" /> |
There was a problem hiding this comment.
Document QrCode in the component allowlist
Adding this tag without updating docs/README.md leaves the repository's authoritative maintenance guide contradictory: its “可用组件” section says pages may use only the listed components, but lines 105–114 do not include QrCode. Future documentation contributors following that guide will incorrectly treat this now-supported component as invalid, so add QrCode and its accepted attributes to the documented allowlist.
AGENTS.md reference: AGENTS.md:L60-L60
Useful? React with 👍 / 👎.
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
改动
QrCode组件显示(feat(site): 页脚与 pt-tools 文档站加入公众号二维码 firlab#21)。docs/public/community/,README 与文档站共用;firlab 的同步脚本已把community加入同步目录。验证
make docs-check通过;改动的 4 个 Markdown 文件 oxfmt 检查通过。pnpm build与check-dist.sh通过;浏览器实测深色主题下「社区」一节显示正常,二维码 160×160、白底,图注「微信扫码关注」。