Skip to content

feat: migrate production Outline publishing - #9

Merged
nonepointer666 merged 1 commit into
nonepointer666:mainfrom
cyssayyes-source:feat/production-outline-routing
Sep 15, 2026
Merged

nonepointer666 merged 1 commit into
nonepointer666:mainfrom
cyssayyes-source:feat/production-outline-routing

Conversation

@cyssayyes-source

Copy link
Copy Markdown
Contributor

feat: 迁移生产 Outline 内容源与发布流程

变更内容

  • 将生产帮助中心内容源切换为 https://outline.qingflow.com 的“售后知识库(公开)”集合。
  • 文档统一使用 Outline urlId 生成稳定永久路由:/docs/outline/<urlId>。
  • outline-route-map.json 仅维护历史帮助中心 URL 的兼容映射,不再为所有新文档保存路由。
  • 侧栏、面包屑和文档层级由 Outline 目录结构同步生成。
  • 保留旧 URL 的重定向/失效兼容记录,避免历史外链直接失效。
  • 同步产物采用临时目录校验后原子替换;同步、转换或校验失败时保留上一份有效快照。

Jenkins 与搜索

  • 增加适配 Kubernetes Jenkins 工程的构建流程。
  • Jenkins 在同一次 Outline 同步快照中完成站点构建和 Typesense 搜索索引生成。
  • Typesense 使用版本化 collection 与 alias 切换,只有校验和部署均成功后才切换线上索引。
  • 失败时线上继续保留旧版本。
  • 本地 Typesense 索引已重新同步,清除了旧路由记录,搜索结果可正常跳转至 Outline 页面。

@nonepointer666
nonepointer666 merged commit 083907d into nonepointer666:main Sep 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants