chore: streamline compatibility tracking and documentation
This commit is contained in:
1 parent
92d2ba9889
commit
23f0456622
16 files changed
+476
-259
No files matched your search
@@ -34,14 +34,13 @@
|
||||
|
||||
## 开发环境
|
||||
|
||||
- **Go 1.21+** 用于模板渲染和 CLI 工具
|
||||
- **Go 1.21+** 用于模板渲染和 CLI 工具;Go 模块需下载 `github.com/urfave/cli/v2` 及其依赖
|
||||
|
||||
### 本地预览(静态)
|
||||
|
||||
1. 先生成预览数据:`cd tools && go run . preview all`
|
||||
2. 在浏览器中打开 `preview/index.html` — 无需服务器
|
||||
|
||||
|
||||
### 开发服务器(实时重载)
|
||||
|
||||
```bash
|
||||
@@ -49,8 +48,7 @@ cd tools && go run . dev
|
||||
# → http://localhost:3456
|
||||
```
|
||||
|
||||
修改 `.tmpl` 文件后自动重建并推送至浏览器。
|
||||
|
||||
修改 `.tmpl` 文件后自动重建并推送至浏览器。HTTP 服务与 SSE 实时重载使用 Go 标准库实现,CLI 本身依赖 Go 模块。
|
||||
|
||||
### 集成测试
|
||||
|
||||
@@ -75,6 +73,11 @@ cd tools && go run . dev
|
||||
- `fix:` — Bug 修复
|
||||
- `project:` — README、LICENSE、元文件
|
||||
|
||||
## 翻译
|
||||
|
||||
- [English CONTRIBUTING](../CONTRIBUTING.md)
|
||||
- 简体中文(本文)
|
||||
|
||||
## 许可协议
|
||||
|
||||
参与贡献即表示您同意将您的贡献以 MIT 许可证授权。
|
||||
Reference in new issue
Block a user