Rename mkdocs assets directory to static on deployment to prevent path collision with assets directory

This commit is contained in:
Diego Marcos Segura
2025-06-16 18:33:07 -07:00
parent 1331fcfa9f
commit 8d603de43a
3 changed files with 43 additions and 3 deletions
+2 -2
View File
@@ -32,9 +32,9 @@
"lint:fix": "biome check . --fix",
"lint:summary": "biome check --reporter=summary",
"prepare": "npm run build:wasm && lefthook install",
"site:build": "npm run build && npm run site:clean && node scripts/copy-site-files.js && mkdocs build",
"site:build": "npm run build && npm run site:clean && node scripts/copy-site-files.js && mkdocs build && node scripts/rename-assets-to-static.js",
"site:clean": "node scripts/clean-site-files.js && node scripts/clean-site.js",
"site:deploy": "node scripts/deploy-site.js",
"site:deploy": "npm run site:build && node scripts/deploy-site.js",
"site:serve": "node scripts/serve-site.js site",
"start": "npm run dev",
"test": "node --no-warnings --loader ts-node/esm --test test/**/*.test.ts"