WeKnora/website-docs/homepage
lyingbug 06e8022476
feat(website): add product homepage and unified docs deployment (#3297)
* feat(website): add product homepage and unified docs deployment

* fix(website): build the unified site in a multi-stage Docker image

* fix(website): reveal and highlight the active documentation sidebar item
2026-09-16 11:58:37 +08:00
..
app feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
public feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
scripts feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
BRAND-ASSETS.md feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
README.md feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
eslint.config.mjs feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
next-env.d.ts feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
next.config.ts feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
package-lock.json feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
package.json feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
postcss.config.mjs feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00
tsconfig.json feat(website): add product homepage and unified docs deployment (#3297) 2026-09-16 11:58:37 +08:00

README.md

WeKnora homepage source

The Next.js homepage is one part of the unified site. Run npm run setup, npm run build, and npm run preview from the parent directory to include both the homepage and the complete /docs/ site. Deployment instructions are in the parent README.

  • app/page.tsx: product content and same-origin documentation links.
  • app/home.module.css: homepage layout.
  • app/interactive.tsx: responsive navigation, theme switch, and on-demand README video.
  • app/theme.ts: VitePress-compatible theme persistence and pre-paint initialization.
  • ../shared/brand.css: shared light/dark design tokens.

npm run dev can still preview the homepage alone during development. /docs/ requires the combined preview from the parent directory.