WeKnora/website-docs/scripts
wizardchen cee697920e fix(website-docs): serve everything but the homepage from /docs/
The site is deployed behind an upstream router that forwards only `/` and
`/docs/`. The homepage export also claimed /_next/, /brand/, /brands/,
/product/, /favicon.ico and Next's root RSC payloads, so behind that router
the page loaded without its scripts, styles or images.

Next's assetPrefix and the homepage's public assets now live under
/docs/_home/ (one `homeAssets` constant shared with the docs header), the
favicon reuses /docs/favicon.ico, and build-site.mjs leaves only index.html,
404.html and docs/ at the root. The homepage logo links are plain anchors
because <Link> navigation fetches RSC payloads from the root. check-site.mjs
now fails the build if a page references anything outside `/` and `/docs/`
or if anything else appears at the site root.
2026-09-24 15:24:16 +08:00
..
build-site.mjs fix(website-docs): serve everything but the homepage from /docs/ 2026-09-24 15:24:16 +08:00
check-links.mjs feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
check-mermaid.mjs feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
check-site.mjs fix(website-docs): serve everything but the homepage from /docs/ 2026-09-24 15:24:16 +08:00
package-site.mjs feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
probe.mjs docs(website-docs): add comprehensive product documentation site 2026-08-06 19:54:40 +08:00
serve-site.mjs feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
site-files.mjs feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
test-docker.mjs fix(website-docs): serve everything but the homepage from /docs/ 2026-09-24 15:24:16 +08:00
test-integration.mjs fix(website-docs): serve everything but the homepage from /docs/ 2026-09-24 15:24:16 +08:00