Commit 596292b
committed
refactor(docs): community 技术文档重归类 + 301 + syncedFromPosts eyebrow
按 IA 整理将 community 下技术内容分别归入目标分类:
git mv(30 个文件):
- community/dev-tips/* → learn/cs/dev-tips/(含 Katex/ 子目录和图片资产)
- community/language/* → career/language/(PTE 语言考试,目标人群同 career)
- community/papers/* → learn/ai/papers/(AI 论文读书笔记)
- community/tools/* → learn/ai/tools/(ML 实验追踪工具、AI 浏览器)
301 重定向(next.config.mjs):
- /docs/community/dev-tips → /zh/docs/learn/cs/dev-tips(含 :path* wildcard)
- /docs/community/language/:path* → /zh/docs/career/language/:path*
- /docs/community/papers/:path* → /zh/docs/learn/ai/papers/:path*
- /docs/community/tools → /zh/docs/learn/ai/tools(含 :path* wildcard)
- /docs/community → /zh/docs/learn(根路径废弃后兜底)
- 同步更正旧 CommunityShare/* wildcard destination 指向新路径
unsw-student-benefit 双存注记:
- frontmatter 加 syncedFromPosts/syncedAuthor/syncedPostsUrl(zh + en)
- docs 文章页模板在 h1 之前渲染「此文同步自作者主页 →」eyebrow
- PageData 类型同步补充三个字段
burnout-guide 和 community/mental-health/ 暂留,待 team-lead 确认作者归属。1 parent 70c96c9 commit 596292b
36 files changed
Lines changed: 76 additions & 11 deletions
File tree
- app
- [locale]/docs/[...slug]
- types
- content/docs
- career/language
- community/life
- learn
- ai
- papers
- tools
- cs/dev-tips
- CommonUsedMarkdown.assets
- Katex
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
129 | 140 | | |
130 | 141 | | |
131 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
| |||
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
File renamed without changes.
File renamed without changes.
0 commit comments