Update postProcess.js
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m54s

This commit is contained in:
thepaperpilot 2025-01-16 19:59:33 +00:00
parent 476974346d
commit d47b5ae07f

View file

@ -28,7 +28,7 @@ function sort(a, b) {
// Update sidebar file // Update sidebar file
const sidebarText = fs.readFileSync("./docs/api/typedoc-sidebar.json") const sidebarText = fs.readFileSync("./docs/api/typedoc-sidebar.json")
.toString() .toString()
.replaceAll(/"[^"]*\/docs\/api\//, '"/api/') .replaceAll(/"[^"]*\/docs\/api\//g, '"/api/')
.replaceAll('{"text":"Functions","collapsed":true', '{"text":"Functions","collapsed":false') .replaceAll('{"text":"Functions","collapsed":true', '{"text":"Functions","collapsed":false')
.replaceAll('{"text":"Interfaces","collapsed":true', '{"text":"Interfaces","collapsed":false') .replaceAll('{"text":"Interfaces","collapsed":true', '{"text":"Interfaces","collapsed":false')
.replaceAll('{"text":"Type Aliases","collapsed":true', '{"text":"Type Aliases","collapsed":false') .replaceAll('{"text":"Type Aliases","collapsed":true', '{"text":"Type Aliases","collapsed":false')