docs: fix misspelled upgrade-instruction path - #7576
Conversation
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
|
|
There was a problem hiding this comment.
Pull request overview
This PR corrects a misspelled self-host upgrade guide filename (upgrade-intruction → upgrade-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.
| // 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
背景 / Description
self-host/upgrading/upgrade-intruction(.en).mdx文件名拼写错误(intruction → instruction)。本 PR 将两个文件重命名(内容零改动),并同步更新全部引用:toc.mdx/toc.en.mdx目录项upgrading/meta(.en).jsonsidenav 元数据middleware.ts中的重定向目标page.tsx版本时间线排除列表doc-last-modified.json的键重命名后全树检索
upgrade-intruction为 0 处。