diff --git a/Dockerfile b/Dockerfile index eccb98331..93df8aa9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ #!/bin/bash -FROM node:18-alpine as builder +FROM node:16-alpine as builder RUN apk add --no-cache git WORKDIR /usr/app diff --git a/docusaurus.config.js b/docusaurus.config.js index 8c40377c0..f4255c9a7 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -315,24 +315,24 @@ module.exports = { }, ], ], - themes: [ - [ - require.resolve("@easyops-cn/docusaurus-search-local"), - { - explicitSearchResultPath: true, - hashed: true, - indexBlog: false, - indexDocs: true, - docsRouteBasePath: "/", - ignoreFiles: [ - /client\/_[^\/]*\.mdx/i, - /server\/_[^\/]*\.mdx/i, - /client\/(Android|AndroidOnDeviceEvaluation|Dart|React|ReactNative|Roku|SwiftOnDeviceEval|Templates|Unity|dotnet|iOS|js|jslocal)\/?/i, - /server\/(Templates|java|node|cpp|dotnet|erlang|go|php|python|ruby|rust)\/?/i, - ], - }, - ], - ], + // themes: [ + // [ + // require.resolve("@easyops-cn/docusaurus-search-local"), + // { + // explicitSearchResultPath: true, + // hashed: true, + // indexBlog: false, + // indexDocs: true, + // docsRouteBasePath: "/", + // ignoreFiles: [ + // /client\/_[^\/]*\.mdx/i, + // /server\/_[^\/]*\.mdx/i, + // /client\/(Android|AndroidOnDeviceEvaluation|Dart|React|ReactNative|Roku|SwiftOnDeviceEval|Templates|Unity|dotnet|iOS|js|jslocal)\/?/i, + // /server\/(Templates|java|node|cpp|dotnet|erlang|go|php|python|ruby|rust)\/?/i, + // ], + // }, + // ], + // ], presets: [ [ "@docusaurus/preset-classic", diff --git a/package.json b/package.json index 5a40496d7..7fb0e0e5a 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "@docusaurus/preset-classic": "2.4.3", "@docusaurus/theme-common": "2.4.3", "@mdx-js/react": "^1.6.22", - "@easyops-cn/docusaurus-search-local": "^0.27.2", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@mui/material": "^5.15.3",