feat: 升级 timeTableFix 子模块(时区选择)+ 修正 README 构建路径
- 子模块 timeTableFix 升级至时区选择版本:加载自动检测用户时区,取不到 回退墨尔本;仅作新建事件默认 tzid 与下载 ICS 的 X-WR-TIMEZONE,不换算 - 修正 README:构建输出到 dist/(非 /root/html),由 npm run deploy rsync 到站点根;补 npm run deploy 命令;细节记于 docs/readme-fixes.md - 集成构建验证通过(npm run build)
This commit is contained in:
20
docs/readme-fixes.md
Normal file
20
docs/readme-fixes.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# README 勘误记录
|
||||
|
||||
本文件记录 mainPage README 中发现并修正的错误,便于追溯。
|
||||
|
||||
## 2026-07-27:构建输出路径描述错误
|
||||
|
||||
**原描述(错误)**:
|
||||
|
||||
- 项目结构注释:`vite.config.js # 构建输出到 /root/html(emptyOutDir=false,不清空既有文件)`
|
||||
- 如何使用:`# 3. 构建(产物输出到 /root/html,不清空既有文件)`
|
||||
- 开发命令:`npm run build # 构建到 /root/html`
|
||||
|
||||
**实际行为**(见 `vite.config.js`):
|
||||
|
||||
- `npm run build` 输出到项目本地 `dist/`(`emptyOutDir: true`,每次清空)。
|
||||
- `npm run deploy` 才用 rsync 把 `dist/` 同步到 Apache 站点根 `/root/html`(脚本:`vite build && rsync ... dist/... /root/html/...`)。
|
||||
|
||||
**修正**:三处均改为说明构建输出到 `dist/`,由 `npm run deploy` rsync 到 `/root/html`,并在「开发命令」补 `npm run deploy` 一行。
|
||||
|
||||
> 背景:本次升级 timeTableFix 子模块(新增时区选择)时,按 README 从 0 构建复现发现该不一致。
|
||||
Reference in New Issue
Block a user