Files
blog/docs/CLEANUP_GUIDE.md
T
Vaica 0e17553a19 docs: 清理Ying主题冗余文档
- 删除20个优化相关文档
- 已整理到 docs/性能优化文档/ 文件夹
- 保留 README.md 和 archetypes/post.md
2026-06-03 13:37:53 +08:00

182 lines
3.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 🧹 Ying主题文档清理指南
## 📋 需要删除的文件(20个)
这些文件都已经整理到 `docs/性能优化文档/` 文件夹,可以安全删除。
### 删除命令(Windows CMD)
```bash
cd E:\GitHub\blog
# 删除优化文档
del themes\Ying\OPTIMIZATION_REPORT.md
del themes\Ying\OPTIMIZATION_STEP1_PLAN.md
del themes\Ying\TEST_STEP1.md
del themes\Ying\OPTIMIZATION_STEP2_PLAN.md
del themes\Ying\OPTIMIZATION_STEP2_FINAL.md
del themes\Ying\OPTIMIZATION_STEP3_PLAN.md
del themes\Ying\OPTIMIZATION_COMPLETE_GUIDE.md
del themes\Ying\IMPLEMENTATION_SUMMARY.md
del themes\Ying\TEST_JS_OPTIMIZATION.md
del themes\Ying\GUIDE_FONT_SUBSETTING.md
del themes\Ying\PLAN1_COMPLETE_SUMMARY.md
del themes\Ying\PJAX_COMPATIBILITY.md
del themes\Ying\PJAX_FIX_SUMMARY.md
del themes\Ying\FONT_OPTIMIZATION_MANUAL.md
del themes\Ying\FONT_OPTIMIZATION_FALLBACK.md
del themes\Ying\FINAL_FONT_TEST.md
del themes\Ying\GITHUB_ACTIONS_GUIDE.md
del themes\Ying\COMMIT_GUIDE.md
del themes\Ying\ACTIONS_FIX_GUIDE.md
del themes\Ying\PROJECT_COMPLETE_SUMMARY.md
```
### 删除命令(Mac/Linux)
```bash
cd E:\GitHub\blog
# 删除优化文档
rm themes/Ying/OPTIMIZATION_REPORT.md
rm themes/Ying/OPTIMIZATION_STEP1_PLAN.md
rm themes/Ying/TEST_STEP1.md
rm themes/Ying/OPTIMIZATION_STEP2_PLAN.md
rm themes/Ying/OPTIMIZATION_STEP2_FINAL.md
rm themes/Ying/OPTIMIZATION_STEP3_PLAN.md
rm themes/Ying/OPTIMIZATION_COMPLETE_GUIDE.md
rm themes/Ying/IMPLEMENTATION_SUMMARY.md
rm themes/Ying/TEST_JS_OPTIMIZATION.md
rm themes/Ying/GUIDE_FONT_SUBSETTING.md
rm themes/Ying/PLAN1_COMPLETE_SUMMARY.md
rm themes/Ying/PJAX_COMPATIBILITY.md
rm themes/Ying/PJAX_FIX_SUMMARY.md
rm themes/Ying/FONT_OPTIMIZATION_MANUAL.md
rm themes/Ying/FONT_OPTIMIZATION_FALLBACK.md
rm themes/Ying/FINAL_FONT_TEST.md
rm themes/Ying/GITHUB_ACTIONS_GUIDE.md
rm themes/Ying/COMMIT_GUIDE.md
rm themes/Ying/ACTIONS_FIX_GUIDE.md
rm themes/Ying/PROJECT_COMPLETE_SUMMARY.md
```
---
## ✅ 保留的文件
**不要删除这些文件:**
- ✅ `README.md` - 主题说明文档
- ✅ `archetypes/post.md` - Hugo模板文件
---
## 📊 清理验证
### 清理前
```bash
dir themes\Ying\*.md
```
**应该看到20个优化文档**
### 清理后
```bash
dir themes\Ying\*.md
```
**应该只看到2个文件:**
- README.md
- archetypes\post.md
---
## 💡 已整理的文档位置
**所有优化文档已整理到:**
```
E:\GitHub\blog\docs\性能优化文档\
```
**索引文档:**
```
E:\GitHub\blog\docs\性能优化文档\README.md
```
---
## 🎯 快速清理命令
### 一键清理(Windows PowerShell)
```powershell
cd E:\GitHub\blog
# 删除所有优化文档
Remove-Item themes\Ying\OPTIMIZATION_*.md -Force
Remove-Item themes\Ying\TEST_*.md -Force
Remove-Item themes\Ying\PLAN1_*.md -Force
Remove-Item themes\Ying\PJAX_*.md -Force
Remove-Item themes\Ying\FONT_*.md -Force
Remove-Item themes\Ying\FINAL_*.md -Force
Remove-Item themes\Ying\GITHUB_*.md -Force
Remove-Item themes\Ying\COMMIT_*.md -Force
Remove-Item themes\Ying\ACTIONS_*.md -Force
Remove-Item themes\Ying\PROJECT_*.md -Force
Remove-Item themes\Ying\IMPLEMENTATION_*.md -Force
Remove-Item themes\Ying\GUIDE_*.md -Force
Remove-Item themes\Ying\OPTIMIZATION_COMPLETE_GUIDE.md -Force
Write-Host "✅ 清理完成"
```
---
## 📝 清理后提交
```bash
# 查看删除的文件
git status
# 提交清理
git add -A
git commit -m "docs: 清理Ying主题冗余文档
- 删除20个优化相关文档
- 已整理到 docs/性能优化文档/ 文件夹
- 保留 README.md 和 archetypes/post.md"
# 推送
git push origin main
```
---
## 🎉 清理完成
### 清理效果
- ✅ Ying主题目录更简洁
- ✅ 只保留必要文件
- ✅ 优化文档已整理到专门文件夹
- ✅ 便于维护和查找
### 文档位置
**所有优化文档:**
```
E:\GitHub\blog\docs\性能优化文档\
```
**索引文档:**
```
E:\GitHub\blog\docs\性能优化文档\README.md
```
---
**清理指南完成!** 🎉
**按照指南操作即可清理Ying主题中的冗余文档!**