Commit e5de136
committed
feat(seo): backfill 253 mdx descriptions via deepseek
新增 scripts/generate-descriptions.mjs:默认调 DeepSeek 给所有
description 缺失/空/极短的 MDX 生成精准摘要,写回 frontmatter。
设计:
- 默认 dry-run 生成 scripts/.descriptions-report.json
- --apply 真写回;--from-report --apply 跳过 LLM 复用已有报表
- --leetcode-only 模板模式(不调 LLM,离线 fallback)
- --limit=N 小批量试运行
- Surgical edit 只动 description 行,不重格式化 yaml,git diff 干净
幂等性:已合格 description (>= 60 字符) 跳过,重跑安全。
本次跑完 DeepSeek 改了 253 个 MDX frontmatter description:
- median 134 字符,min 64,max 264
- 0 errors,~$0.05 总成本
- 中英文按 .en 后缀决定生成语言
.gitignore 追加 scripts/.descriptions-report.json(dry-run 产物)。1 parent 4ae561b commit e5de136
255 files changed
Lines changed: 901 additions & 157 deletions
File tree
- content/docs
- career
- events
- interview-prep
- leetcode
- community
- dev-tips
- Katex
- language
- life
- mental-health
- papers
- tools
- learn
- ai
- Introduction-of-Multi-agents-system
- MoE
- Multi-agents-system-on-Code-Translation
- agents-todo
- cs294-194-196
- ai-math-basics
- calculus-optimization
- information-theory
- linear-algebra
- resources
- numerical-analysis
- probability-statistics
- resources
- compute-platforms
- foundation-models
- datasets
- deploy-infer
- evaluation
- finetune
- qkv-interview
- rag
- training
- generative-todo
- llm-basics
- courses
- cuda
- deep-learning
- d2l
- misc
- nlp
- embeddings
- qwen3-embedding
- pytorch
- transformer
- ai-by-hand
- methodology
- misc-tools
- model-datasets-platforms
- multimodal
- RQVAE
- VAE
- VQVAE
- courses
- llava
- mllm
- qwenvl
- video-mm-todo
- vit
- recommender-systems
- wangshusen_recommend_note
- reinforcement-learning
- cs
- cpp-backend
- easy-compile
- handwritten-pool-components
- data-structures
- array
- linked-list
- frontend
- frontend-learning
- projects
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments