Nakshora output is static CSS — it deploys anywhere. Here is the exact Cloudflare Pages recipe.
Steps#
- Connect the repository; root directory: docs-site (or repo root with prefix)
- Build command: npm run build (inside docs-site)
- Output directory: dist
- Custom domain: docs.nakshora.bsdc.info.bd with automatic TLS
- Verify: every route returns 200, _headers applied, brotli on
Cache headers#
assets/*.css → public, max-age=31536000, immutable
*.html → public, max-age=0, must-revalidateVerify#
- Lighthouse ≥ 95 performance with a JIT build
- No console 404s for CSS
- Brotli/gzip enabled
Note. This documentation platform itself runs on Cloudflare Pages — the same recipe, proven.
