fix: 修复Docusaurus构建失败问题

- 移除未定义的ProgressPanel组件引用
- 移除错误的TypeScript导入语句
- 修复搜索插件配置问题

修复了npm run build构建失败的问题,现在可以成功生成静态文件。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Donkey_kevin 2026-05-13 15:36:03 +08:00
parent 907b40b3d7
commit c36ae092a0
2 changed files with 0 additions and 4 deletions

View File

@ -21,8 +21,6 @@ GitLink确实开源是CCF官方指定的开源创新服务平台旨在
# 帮助文档
帮助文档有助于您全面了解GitLink平台让我们一起为开源创新贡献力量
<ProgressPanel />
<div class="row">
<div class="col col--12">
<section class="row list">

View File

@ -3,7 +3,6 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
//Docusaurus v3写法
// const { themes } = require('prism-react-renderer');
// import { themes } from 'prism-react-renderer';
import("@easyops-cn/docusaurus-search-local").PluginOptions;
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
@ -211,7 +210,6 @@ module.exports = {
hashed: true,
language: ["en", "zh"],
highlightSearchTermsOnTargetPage: true,
blogRouteBasePath: "/",
explicitSearchResultPath: true,
// For Docs using Chinese, The `language` is recommended to set to:
// ```