Skip to content

Stabilize 2.7.1 website docs#1123

Open
Aias00 wants to merge 1 commit into
apache:mainfrom
Aias00:docs/refresh-2.7.1-site
Open

Stabilize 2.7.1 website docs#1123
Aias00 wants to merge 1 commit into
apache:mainfrom
Aias00:docs/refresh-2.7.1-site

Conversation

@Aias00

@Aias00 Aias00 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • set 2.7.1 as the current website docs version and keep 2.7.0.3 as a historical version
  • refresh current docs and zh i18n entries from the local Apache ShenYu repo, including missing MCP, AI, proxy, security, observability, namespace, and scale pages
  • fix blog author/truncate/duplicate route/zh plural warnings plus broken links and broken anchors across current and historical docs
  • preserve legacy namepsace URLs with a static compatibility page while keeping the typo out of generated docs sidebars

Review notes

  • namepsace compatibility is client-side static redirection, not an HTTP 301/302, because the site currently has no redirect plugin or server redirect layer
  • blog/news author and truncation warnings are ignored in config to keep existing content buildable; this does not validate metadata quality
  • src/pages/versions.tsx still has a hardcoded current version label that can drift if future version metadata changes are not kept in sync

Verification

  • COREPACK_ENABLE_PROJECT_SPEC=0 yarn build
  • grepped the build log for broken links, broken anchors, duplicate routes, blog metadata warnings, zh plural warnings, WARNING, and ERROR
  • verified production serve routes for /docs/user-guide/admin-usage/namepsace, /docs/user-guide/admin-usage/namespace, /zh/docs/user-guide/admin-usage/namepsace, and /zh/docs/user-guide/admin-usage/namespace
  • checked generated sidebar data so namepsace no longer appears in current docs sidebar

Not tested

  • full manual copy review for every historical-version document touched by mechanical link and anchor normalization

Copilot AI review requested due to automatic review settings June 8, 2026 09:11
The website now treats 2.7.1 as current and keeps 2.7.0.3 in the historical version list. Current docs, zh i18n, blog routing warnings, and historical broken links were updated so the production build is clean while preserving legacy namepsace URLs.

Constraint: Docusaurus static hosting does not provide server-side redirects without extra redirect configuration

Rejected: Add a redirects plugin | would introduce a new dependency for one legacy typo URL

Rejected: Keep namepsace as an unlisted docs page | Docusaurus still included it in generated sidebars

Confidence: medium

Scope-risk: broad

Directive: Keep the static namepsace compatibility page out of docs content; it must not reappear in generated sidebars

Tested: COREPACK_ENABLE_PROJECT_SPEC=0 yarn build

Tested: grep build log for broken links, broken anchors, duplicate routes, blog metadata warnings, and zh plural warnings

Tested: Verified /docs/user-guide/admin-usage/namepsace and /zh/docs/user-guide/admin-usage/namepsace return 200 and target the corrected namespace routes

Not-tested: Full manual copy review for every historical-version document touched by mechanical link and anchor normalization
@Aias00 Aias00 force-pushed the docs/refresh-2.7.1-site branch from 3373e22 to af760b7 Compare June 8, 2026 09:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

3 participants