Nakshora output is static CSS — it deploys anywhere. Here is the exact Netlify recipe.

Steps#

  • Set base directory docs-site, publish directory dist
  • Build command npm run build
  • SPA fallback not needed (pre-rendered); add a 404.html anyway
  • Enable asset optimization + brotli

Cache headers#

text
assets/*.css  →  public, max-age=31536000, immutable
*.html        →  public, max-age=0, must-revalidate

Verify#

  • 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.