From 9cb7b0a8b64cc51cee7e227f6c95f9f2ed0abaf6 Mon Sep 17 00:00:00 2001 From: chaxus Date: Sun, 5 Jul 2026 20:59:13 +0800 Subject: [PATCH 1/2] chore: point online-URL references to edit.chaxus.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Migration to Cloudflare Pages is live; update outward-facing links from the old ranuts.github.io/document to https://edit.chaxus.com: - package.json homepage - readme.md / readme.zh.md Live Demo links - CLAUDE.md online address (notes the old URL now redirects here) The redirect/*.html comments intentionally keep the old URL — they describe the move away from it. --- CLAUDE.md | 2 +- .../2026-07-05-migration-finishing-touches.md | 25 +++++++++++++++++++ package.json | 2 +- readme.md | 4 +-- readme.zh.md | 4 +-- 5 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 docs/explorations/2026-07-05-migration-finishing-touches.md diff --git a/CLAUDE.md b/CLAUDE.md index 986e57d5..d9483fed 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ 基于 OnlyOffice 的本地 Web 文档编辑器,所有处理在浏览器端完成,无需服务器,保护用户隐私。支持 docx、xlsx、pptx、csv 等格式。 -- **线上地址**:https://ranuts.github.io/document/ +- **线上地址**:https://edit.chaxus.com/ (旧址 https://ranuts.github.io/document/ 已跳转至此) - **GitHub**:https://github.com/ranuts/document - **技术栈**:TypeScript + Vite + Tailwind CSS + OnlyOffice Web Apps diff --git a/docs/explorations/2026-07-05-migration-finishing-touches.md b/docs/explorations/2026-07-05-migration-finishing-touches.md new file mode 100644 index 00000000..285b4b9c --- /dev/null +++ b/docs/explorations/2026-07-05-migration-finishing-touches.md @@ -0,0 +1,25 @@ +# edit.chaxus.com 迁移收尾:线上地址引用更新 + +> 2026-07-05 + +迁移主体(CF Pages 新站 + 旧站跳转器)上线后,把仓库里指向旧地址 `ranuts.github.io/document` 的对外引用统一改到 `edit.chaxus.com`。 + +## 改动 + +| 文件 | 改动 | +|---|---| +| `package.json` | `homepage` → `https://edit.chaxus.com/`(npm 页 / 工具链读取的规范主页) | +| `readme.md` | Live Demo badge 链接 + "Try it online" → edit.chaxus.com | +| `readme.zh.md` | 在线体验 badge + 链接 → edit.chaxus.com | +| `CLAUDE.md` | 线上地址 → edit.chaxus.com(注明旧址已跳转至此) | + +**故意保留旧 URL 的地方**:`redirect/{index,404}.html` 的注释——它们描述的正是"从 `ranuts.github.io/document` 搬走",改了反而语义错。 + +## 仓库设置(代码外) + +- GitHub repo **Website 字段** → `https://edit.chaxus.com/`(`gh repo edit`) +- 删除远端分支 `release/v0.0.4`:v7 线已在 `main` 维护,该分支不再需要(CI 触发已全部统一到 main) + +## 仍待用户在外部后台做 + +- **GSC 地址变更**:旧 property → edit.chaxus.com,加速 SEO 权重转移 + sitemap 提交 diff --git a/package.json b/package.json index 7ceec046..118900d4 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "type": "git", "url": "https://github.com/ranuts/document.git" }, - "homepage": "https://ranuts.github.io/document/", + "homepage": "https://edit.chaxus.com/", "bugs": { "url": "https://github.com/ranuts/document/issues" }, diff --git a/readme.md b/readme.md index a31d6bb2..47fd6355 100644 --- a/readme.md +++ b/readme.md @@ -10,7 +10,7 @@ Version - + Live Demo

@@ -37,7 +37,7 @@ A privacy-first, browser-based document editor powered by OnlyOffice. Edit DOCX, ## 🚀 Quick Start -**Try it online:** [ranuts.github.io/document](https://ranuts.github.io/document/) +**Try it online:** [edit.chaxus.com](https://edit.chaxus.com/) **Run with Docker:** diff --git a/readme.zh.md b/readme.zh.md index 913c0fc5..2400ba33 100644 --- a/readme.zh.md +++ b/readme.zh.md @@ -10,7 +10,7 @@ 版本 - + 在线体验

@@ -37,7 +37,7 @@ ## 🚀 快速开始 -**在线体验:** [ranuts.github.io/document](https://ranuts.github.io/document/) +**在线体验:** [edit.chaxus.com](https://edit.chaxus.com/) **Docker 运行:** From 3fa0ed7a804b07c69c893bf5773b1c94276716e7 Mon Sep 17 00:00:00 2001 From: chaxus Date: Sun, 5 Jul 2026 21:07:55 +0800 Subject: [PATCH 2/2] style: prettier-format migration finishing-touches doc --- .../2026-07-05-migration-finishing-touches.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/explorations/2026-07-05-migration-finishing-touches.md b/docs/explorations/2026-07-05-migration-finishing-touches.md index 285b4b9c..4ad9e685 100644 --- a/docs/explorations/2026-07-05-migration-finishing-touches.md +++ b/docs/explorations/2026-07-05-migration-finishing-touches.md @@ -6,12 +6,12 @@ ## 改动 -| 文件 | 改动 | -|---|---| +| 文件 | 改动 | +| -------------- | ---------------------------------------------------------------------- | | `package.json` | `homepage` → `https://edit.chaxus.com/`(npm 页 / 工具链读取的规范主页) | -| `readme.md` | Live Demo badge 链接 + "Try it online" → edit.chaxus.com | -| `readme.zh.md` | 在线体验 badge + 链接 → edit.chaxus.com | -| `CLAUDE.md` | 线上地址 → edit.chaxus.com(注明旧址已跳转至此) | +| `readme.md` | Live Demo badge 链接 + "Try it online" → edit.chaxus.com | +| `readme.zh.md` | 在线体验 badge + 链接 → edit.chaxus.com | +| `CLAUDE.md` | 线上地址 → edit.chaxus.com(注明旧址已跳转至此) | **故意保留旧 URL 的地方**:`redirect/{index,404}.html` 的注释——它们描述的正是"从 `ranuts.github.io/document` 搬走",改了反而语义错。