[PR #1360] [CLOSED] docs: preserve legacy routes after IA reorganization #1331

Closed
opened 2026-10-18 14:18:55 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/docs/pull/1360
Author: @huyua9
Created: 8/27/2026
Status: ❌ Closed

Base: main ← Head: fix/preserve-legacy-doc-routes-huyua9


📝 Commits (1)

  • 4aebbdc docs: preserve legacy routes after IA reorganization

📊 Changes

4 files changed (+206 additions, -0 deletions)

View changed files

📝 docusaurus.config.ts (+12 -0)
📝 package-lock.json (+25 -0)
📝 package.json (+1 -0)
➕ src/legacyRouteRedirects.ts (+168 -0)

📄 Description

Summary

  • preserve historical documentation URLs after the IA reorganization
  • use the version-matched Docusaurus client-redirects plugin with explicit route mappings
  • keep query strings and URL fragments when redirecting

Validation

  • npm run build (passes; generates 416 docs pages and 194 redirect pages)
  • npm run lint
  • npm run test:docs-search
  • npx prettier --check docusaurus.config.ts src/legacyRouteRedirects.ts package.json package-lock.json
  • git diff --check

The build still reports the repository's pre-existing broken anchor from /troubleshooting/performance to /reference/env-configuration#milvus_uri.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/docs/pull/1360 **Author:** [@huyua9](https://github.com/huyua9) **Created:** 8/27/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/preserve-legacy-doc-routes-huyua9` --- ### 📝 Commits (1) - [`4aebbdc`](https://github.com/open-webui/docs/commit/4aebbdc8b37da5eef1851f7f7ac7c3948764fa2a) docs: preserve legacy routes after IA reorganization ### 📊 Changes **4 files changed** (+206 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docusaurus.config.ts` (+12 -0) 📝 `package-lock.json` (+25 -0) 📝 `package.json` (+1 -0) ➕ `src/legacyRouteRedirects.ts` (+168 -0) </details> ### 📄 Description ## Summary - preserve historical documentation URLs after the IA reorganization - use the version-matched Docusaurus client-redirects plugin with explicit route mappings - keep query strings and URL fragments when redirecting ## Validation - `npm run build` (passes; generates 416 docs pages and 194 redirect pages) - `npm run lint` - `npm run test:docs-search` - `npx prettier --check docusaurus.config.ts src/legacyRouteRedirects.ts package.json package-lock.json` - `git diff --check` The build still reports the repository's pre-existing broken anchor from `/troubleshooting/performance` to `/reference/env-configuration#milvus_uri`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 14:18:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/docs#1331
No description provided.