Skip to content

Docs

Please follow LiveStore’s guiding principles when writing docs.

This project broadly tries to follow the Prisma docs style guide.

For snippet guidelines, see: /contributor-docs/docs/snippets.md

  • Run direnv exec . mono docs deploy to build and deploy the documentation to the dev domain (https://dev.docs.livestore.dev).
  • Passing --prod targets the production domain (https://docs.livestore.dev) when you are on main (otherwise the command deploys using a branch alias).
  • Use --site=<slug> if you need to override the default Netlify site name.
  • Add --purge-cdn when you need to invalidate Netlify’s CDN cache after deploying; this ensures new edge handlers or content-negotiation changes take effect immediately.
  • CI automatically builds and deploys the docs: main updates https://docs.livestore.dev, dev updates https://dev.docs.livestore.dev, and feature branches publish to the dev domain behind a branch alias.