From 3bcbece2722d0a734ac79e4a501f694a3cf11775 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Thu, 24 Oct 2024 13:55:26 -0700 Subject: [PATCH 1/2] Move github banners to assets directory --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 643537c944..353912d53d 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 '' 's|/.github/|assets/github/|g' {} +", "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", From 0a6165442108a8af4ddc1019165742c7d58e1f7c Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Thu, 24 Oct 2024 14:02:18 -0700 Subject: [PATCH 2/2] fix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 353912d53d..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 -p docs/assets/github && cp .github/*.png docs/assets/github/ && find docs -name '*.html' -type f -exec sed -i '' 's|/.github/|assets/github/|g' {} +", + "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",