From 728a7e84d8cd05689633a6a8602b8ba1601322b3 Mon Sep 17 00:00:00 2001 From: Xingyao Wang Date: Tue, 3 Jun 2025 12:22:10 -0400 Subject: [PATCH] fix(docs): redirect all /modules to / (#8876) --- docs/docs.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/docs.json b/docs/docs.json index 4a7fcde553..9e4ec5979a 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -194,5 +194,11 @@ "chatgpt", "claude" ] - } + }, + "redirects": [ + { + "source": "/modules/:slug*", + "destination": "/:slug*" + } + ] }