Docs
Please follow LiveStore’s guiding principles when writing docs.
Writing style
Section titled “Writing style”This project broadly tries to follow the Prisma docs style guide.
Snippets
Section titled “Snippets”For snippet guidelines, see: /contributor-docs/docs/snippets.md
Deploying the docs
Section titled “Deploying the docs”- Run
direnv exec . mono docs deployto build and deploy the documentation to the dev domain (https://dev.docs.livestore.dev). - Passing
--prodtargets the production domain (https://docs.livestore.dev) when you are onmain(otherwise the command deploys using a branch alias). - Use
--site=<slug>if you need to override the default Netlify site name. - Add
--purge-cdnwhen 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:
mainupdateshttps://docs.livestore.dev,devupdateshttps://dev.docs.livestore.dev, and feature branches publish to the dev domain behind a branch alias.