morningman opened a new pull request, #4040:
URL: https://github.com/apache/doris-website/pull/4040

   ## What
   
   Three standalone pages have no inbound link anywhere on the site. 
`/learning` lost its footer entry back in #1461; `/archive-docs` and `/vendors` 
lost theirs in the new-homepage refactor (#3660). Their content has gone stale 
as well — `/learning` links to pre-4.x doc slugs that no longer exist, and 
`/archive-docs` still calls 3.0 the "latest version".
   
   | Page | Action | Redirect |
   | --- | --- | --- |
   | `/learning` | page removed | → `/course` |
   | `/archive-docs` | page removed | none (404) |
   | `/vendors` | source parked, route removed | → `/` |
   
   Details:
   
   - **`/learning`** — removed along with its 10 exclusive sitemap icons. Doris 
101 is now the entry point for newcomers.
   - **`/archive-docs`** — removed, together with its exclusive `pdf.svg`, the 
unused `ARCHIVE_PATH` constant and 17 orphaned `archive.*` zh-CN translation 
keys. The v2.0 PDF it linked stays reachable from the download page.
   - **`/vendors`** — source parked at `src/pages/_vendors` (underscore = not 
routed) so the content is preserved, while the route redirects to the homepage. 
`plugin-client-redirects` drops any redirect that would override a live route, 
so the page has to leave the route table for the redirect to apply.
   - **`src/pages/_download`** — removed. Underscore-prefixed, so it was never 
built; it was the last importer of `src/components/More` and 
`src/components/PageColumn`, which are now unreferenced (left in place for a 
follow-up).
   
   `createRedirects()` previously normalized the site root to an empty string, 
which meant no redirect could ever target the homepage. It now keeps `/`.
   
   ## Testing
   
   Production-shaped build (`--locale en --locale zh-CN`):
   
   | From | EN | ZH |
   | --- | --- | --- |
   | `/learning` | → `/course/` | → `/zh-CN/course/` |
   | `/vendors` | → `/` | → `/zh-CN/` |
   
   `/archive-docs`, `/_vendors` and `/_download` produce no route; `/`, 
`/course`, `/download`, `/events`, `/why-doris/users` and `/profile-analysis` 
all still build. No remaining route or broken-link warning references any of 
the removed pages.
   
   ## Versions
   
   - [x] dev
   
   ## Languages
   
   - [x] Chinese
   - [x] English
   
   ## Docs Checklist
   
   - [x] Checked by AI
   - [x] Updated required version and language counterparts, or explained why 
not
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to