diff --git a/package.json b/package.json index 643537c944..13d7fe84f1 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "build": "rollup --config --bundleConfigAsCjs && rollup --config rollup.config.worker.js --bundleConfigAsCjs && pnpm downlevel-dts", "build:watch": "rollup --watch --config --bundleConfigAsCjs", "build:worker:watch": "rollup --watch --config rollup.config.worker.js --bundleConfigAsCjs", - "build-docs": "typedoc && mkdir docs/.github && cp .github/*.png docs/.github/", + "build-docs": "typedoc && mkdir -p docs/assets/github && cp .github/*.png docs/assets/github/ && find docs -name '*.html' -type f -exec sed -i.bak 's|=\"/.github/|=\"assets/github/|g' {} + && find docs -name '*.bak' -delete", "proto": "protoc --es_out src/proto --es_opt target=ts -I./protocol ./protocol/livekit_rtc.proto ./protocol/livekit_models.proto", "examples:demo": "vite examples/demo -c vite.config.mjs", "lint": "eslint src",