Commit 8cee02b
committed
refactor(docs): 删叙事原文 + 加301跳转作者posts + 废弃community父目录
用户定删+301(不双存):
删除文件(8个):
- community/life/unsw-student-benefit.md + .en.md(搬入作者 posts)
- community/mental-health/burnout-guide.mdx + .en.mdx(搬入作者 posts)
- community/mental-health/index.mdx + .en.mdx(目录已空)
- community/index.mdx + .en.mdx(整个分类废弃)
撤销 syncedFromPosts frontmatter 注记(随文件删除,无需额外处理)。
新增301(next.config.mjs):
- /docs/community/life/unsw-student-benefit → /zh/u/github_163523387/posts/unsw-student-benefit
- /docs/community/mental-health/burnout-guide → /zh/u/github_114939201/posts/burnout-guide
- CommunityShare/Life/:path* wildcard 改指 /zh/docs/learn(兜底防404)
- CommunityShare/MentalHealth/:path* wildcard 改指 /zh/docs/learn(兜底防404)
/docs/community 根301已有(→ /zh/docs/learn),无需新增。
build验证:EXIT 0,community docs路由已从路由表消失,无回退。1 parent 596292b commit 8cee02b
9 files changed
Lines changed: 15 additions & 356 deletions
File tree
- content/docs/community
- life
- mental-health
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 81 deletions
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments