From 2b78baaeaacbaf3c2fce9f3aafecc87cdd7c1b11 Mon Sep 17 00:00:00 2001 From: tore-statsig <74584483+tore-statsig@users.noreply.github.com> Date: Wed, 14 Aug 2024 10:31:17 -0700 Subject: [PATCH 1/5] fix: update docs search version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a40496d7..13c7f6899 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@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", + "@easyops-cn/docusaurus-search-local": "0.44.5", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@mui/material": "^5.15.3", From 0fd4af4a250080f4915614646ec97175c2f52e5c Mon Sep 17 00:00:00 2001 From: tore-statsig <74584483+tore-statsig@users.noreply.github.com> Date: Wed, 14 Aug 2024 10:35:57 -0700 Subject: [PATCH 2/5] downgrade --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 13c7f6899..7d815b533 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@docusaurus/preset-classic": "2.4.3", "@docusaurus/theme-common": "2.4.3", "@mdx-js/react": "^1.6.22", - "@easyops-cn/docusaurus-search-local": "0.44.5", + "@easyops-cn/docusaurus-search-local": "0.36.0", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@mui/material": "^5.15.3", From 0012e240797b303eeda77dd7a80924f3022fe2b2 Mon Sep 17 00:00:00 2001 From: tore-statsig <74584483+tore-statsig@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:10:46 -0700 Subject: [PATCH 3/5] downgrade --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7d815b533..f0eb69f60 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "@docusaurus/preset-classic": "2.4.3", "@docusaurus/theme-common": "2.4.3", "@mdx-js/react": "^1.6.22", - "@easyops-cn/docusaurus-search-local": "0.36.0", + "@easyops-cn/docusaurus-search-local": "0.27.2", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", "@mui/material": "^5.15.3", From 82bd5c7f1bc5a810e20231ef25983cc36d7aa3cf Mon Sep 17 00:00:00 2001 From: tore-statsig <74584483+tore-statsig@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:22:41 -0700 Subject: [PATCH 4/5] downgrade dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 83cd603c3fcefd5369c88ea575a76bbdc0e040bf Mon Sep 17 00:00:00 2001 From: tore-statsig <74584483+tore-statsig@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:51:16 -0700 Subject: [PATCH 5/5] fix: build --- docusaurus.config.js | 36 ++++++++++++++++++------------------ package.json | 1 - 2 files changed, 18 insertions(+), 19 deletions(-) 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 f0eb69f60..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",