From 35cdc77ad767af1523ef2f117f6ba5b06eb6bd54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=A2=E8=96=AF?= Date: Wed, 23 Jul 2025 20:09:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E4=BA=8E=E8=A7=A3=E5=86=B3=E8=80=81?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E8=B7=B3=E8=BD=AC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/getting-started/intro.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/pages/getting-started/intro.tsx diff --git a/src/pages/getting-started/intro.tsx b/src/pages/getting-started/intro.tsx new file mode 100644 index 0000000..268a530 --- /dev/null +++ b/src/pages/getting-started/intro.tsx @@ -0,0 +1,10 @@ +import { Redirect } from '@docusaurus/router'; + +//为了解决文档链接问题,重定向到 /docs?old +// 这个文件是为了兼容旧版本的文档链接,避免用户访问时出现404错误 +// 旧版本的文档链接是 /docs/getting-started/intro +// 通过重定向到 /docs?old,可以让用户访问到最新的文档内容 +// 这个文件不需要修改,只需要保留即可 +export default function Home() { + return ; +} \ No newline at end of file -- Gitee