Skip to content

docs: fix misspelled upgrade-instruction path - #7576

Open
simpleqt wants to merge 2 commits into
labring:mainfrom
simpleqt:fix-agents-doc-links
Open

docs: fix misspelled upgrade-instruction path#7576
simpleqt wants to merge 2 commits into
labring:mainfrom
simpleqt:fix-agents-doc-links

Conversation

@simpleqt

Copy link
Copy Markdown

背景 / Description

self-host/upgrading/upgrade-intruction(.en).mdx 文件名拼写错误(intruction → instruction)。本 PR 将两个文件重命名(内容零改动),并同步更新全部引用:

  • 各部署/排障文档中的相对链接(docker、sealos、attention 等)
  • toc.mdx / toc.en.mdx 目录项
  • upgrading/meta(.en).json sidenav 元数据
  • middleware.ts 中的重定向目标
  • page.tsx 版本时间线排除列表
  • doc-last-modified.json 的键

重命名后全树检索 upgrade-intruction 为 0 处。

Rename self-host/upgrading/upgrade-intruction(.en).mdx to
upgrade-instruction(.en).mdx and update every reference: doc links,
toc entries, sidenav meta, middleware redirect targets, version
timeline exclusion in page.tsx, and doc-last-modified keys
Copilot AI lite review requested due to automatic review settings August 23, 2026 05:52
@cla-assistant

cla-assistant Bot commented Aug 23, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects a misspelled self-host upgrade guide filename (upgrade-intructionupgrade-instruction) across the documentation site, and updates all internal references so navigation, sidenav metadata, and redirects continue to point at the correct page.

Changes:

  • Renamed the upgrade guide MDX files to the correct spelling and updated toc + sidenav metadata to reference the new slug.
  • Updated doc links across deployment/troubleshooting pages to point at upgrade-instruction.
  • Updated middleware redirects, version-timeline filtering, and last-modified index keys to match the new path.

Reviewed changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
document/middleware.ts Updates legacy redirect targets to the corrected upgrade guide path.
document/data/doc-last-modified.json Renames the last-modified keys for the upgrade guide files.
document/content/toc.mdx Updates toc entry to the corrected upgrade guide slug.
document/content/toc.en.mdx Updates English toc entry to the corrected upgrade guide slug.
document/content/self-host/upgrading/upgrade-instruction.mdx Renamed/added the Chinese upgrade guide under the corrected filename.
document/content/self-host/upgrading/upgrade-instruction.en.mdx Renamed/added the English upgrade guide under the corrected filename.
document/content/self-host/upgrading/meta.json Updates sidenav page list to the corrected slug.
document/content/self-host/upgrading/meta.en.json Updates English sidenav page list to the corrected slug.
document/content/self-host/troubleshooting/attention.mdx Updates relative link to the corrected upgrade guide slug.
document/content/self-host/troubleshooting/attention.en.mdx Updates relative link to the corrected upgrade guide slug.
document/content/self-host/deploy/sealos.mdx Updates relative links to the corrected upgrade guide filename.
document/content/self-host/deploy/sealos.en.mdx Updates relative links to the corrected upgrade guide filename.
document/content/self-host/deploy/docker.mdx Updates relative link to the corrected upgrade guide filename.
document/content/self-host/deploy/docker.en.mdx Updates relative link to the corrected upgrade guide filename.
document/app/[lang]/(docs)/[...slug]/page.tsx Updates the version timeline exclusion filter to match the corrected slug.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread document/middleware.ts
Comment on lines 19 to +21
// Self-host.
'/upgrading/intro': '/self-host/upgrading/upgrade-intruction',
'/upgrading': '/self-host/upgrading/upgrade-intruction',
'/upgrading/intro': '/self-host/upgrading/upgrade-instruction',
'/upgrading': '/self-host/upgrading/upgrade-instruction',
- remove 9 dead ./assets image references in image-search dev doc (files not in repo)
- repoint report.md source links to current paths after agentLoop refactor
  (agentLoop/domain/usage.ts, agentLoop/provider/piAgent/, sub/sandbox/prepare.ts,
  dispatch/agentLoopCore/application/context/reminder.ts)
- fix pr-review/test-case SKILL.md repo-root relative paths (vitest.config.mts, test/mocks)
- fix dead zh anchor in 499.mdx to labring#4-获取文件详情
- drop ':192' suffix GitHub cannot resolve in a relative link
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants