From d47b5ae07fd324e167385972c6384fa834af1492 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 16 Jan 2025 19:59:33 +0000 Subject: [PATCH] Update postProcess.js --- postProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postProcess.js b/postProcess.js index 1794aec8..a07610aa 100644 --- a/postProcess.js +++ b/postProcess.js @@ -28,7 +28,7 @@ function sort(a, b) { // Update sidebar file const sidebarText = fs.readFileSync("./docs/api/typedoc-sidebar.json") .toString() - .replaceAll(/"[^"]*\/docs\/api\//, '"/api/') + .replaceAll(/"[^"]*\/docs\/api\//g, '"/api/') .replaceAll('{"text":"Functions","collapsed":true', '{"text":"Functions","collapsed":false') .replaceAll('{"text":"Interfaces","collapsed":true', '{"text":"Interfaces","collapsed":false') .replaceAll('{"text":"Type Aliases","collapsed":true', '{"text":"Type Aliases","collapsed":false')