把项目向 Docs-iSharkFly-Com 对齐。Jenkins 改用 corepack 加 pnpm 安装,并清掉旧的 node_modules 与软链接。 #9

Merged
honeymoose merged 1 commits from feature/cn into main 2026-12-04 08:02:56 -05:00
Owner

用 pnpm 安装的工具链在本地完整构建了一遍,成功,用时约 8.5 分钟:

  • 站点地图:生成了 .vitepress/dist/sitemap.xml,包含 1646 个页面,网址都以 https://opensearch.isharkfly.com/ 开头。
  • robots.txt:已复制到 .vitepress/dist/robots.txt,指向上面的站点地图。
  • wrangler:pnpm exec wrangler --version 能正常运行,版本是 4.164.0。
  • 警告:构建日志里只有几条“代码高亮语言未加载”的提示(mustache、painless、ppl 等),不影响结果。

Jenkins 上的流程(corepack enable、pnpm install --frozen-lockfile、pnpm run docs:build、pnpm exec wrangler)还没实际跑过,要等下一次 Jenkins 构建才能确认。

还没处理的:

  • .gitignore 未提交:对齐和改英文注释这两次改动还在本地。
  • 两个 .iml 文件:OpenSearch.iml 和 opensearch-docs-cn.iml 已在版本库里,但现在会被忽略。要我用 git rm --cached 把它们移出版本库吗?本地文件不会删。
用 pnpm 安装的工具链在本地完整构建了一遍,成功,用时约 8.5 分钟: - **站点地图**:生成了 `.vitepress/dist/sitemap.xml`,包含 1646 个页面,网址都以 `https://opensearch.isharkfly.com/` 开头。 - **robots.txt**:已复制到 `.vitepress/dist/robots.txt`,指向上面的站点地图。 - **wrangler**:`pnpm exec wrangler --version` 能正常运行,版本是 4.164.0。 - **警告**:构建日志里只有几条“代码高亮语言未加载”的提示(mustache、painless、ppl 等),不影响结果。 Jenkins 上的流程(`corepack enable`、`pnpm install --frozen-lockfile`、`pnpm run docs:build`、`pnpm exec wrangler`)还没实际跑过,要等下一次 Jenkins 构建才能确认。 还没处理的: - **.gitignore 未提交**:对齐和改英文注释这两次改动还在本地。 - **两个 `.iml` 文件**:`OpenSearch.iml` 和 `opensearch-docs-cn.iml` 已在版本库里,但现在会被忽略。要我用 `git rm --cached` 把它们移出版本库吗?本地文件不会删。
honeymoose added 1 commit 2026-12-04 07:51:22 -05:00
把项目向 Docs-iSharkFly-Com 对齐。Jenkins 改用 corepack 加 pnpm 安装,并清掉旧的 node_modules 与软链接。
DOCS/OpenSearch/pipeline/pr-main This commit looks good
DOCS/OpenSearch/pipeline/head This commit looks good
Delete merged branch of the backport PRs / delete-branch (pull_request) Canceled after 0s
Jekyll Build Verification / check (pull_request) Canceled after 0s
Style check / style-job (pull_request) Canceled after 0s
Backport / Backport (pull_request_target) Canceled after 0s
332f70b229
honeymoose merged commit 332f70b229 into main 2026-12-04 08:02:56 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iSharkFly-Docs/OpenSearch#9