Contributing
- Read
copilot-instructions.mdandMULTI_TENANT_DESIGN_V2.md. - Write a short design spec in
specs/<feature>_design.md(goal, acceptance criteria, frontend/backend/security perspectives). - Implement with tests: backend
npm test(Node test runner), frontendnpx vitest run --coverage(≥ 90 % lines). - Fill in the pull-request template — including the Documentation Definition of Done.
- Never push to
maindirectly: pushing tomaindeploys production.
Working on these docs
cd docs-site
npm ci
npm start # English
npm run start:hi # Hindi
npm run build # what CI runs; broken links fail the build
- Pages are Markdown/MDX under
docs-site/docs/. Hindi translations live underdocs-site/i18n/hi/docusaurus-plugin-content-docs/current/with the same file path; missing pages fall back to English. - Keep doc ids stable — in-app help links to them.
- Link to other docs with relative file links (
../modules/appointments.md) except when the target page has a Hindi translation: then use the absolute doc URL (/docs/roles). Docusaurus cannot resolve file links from an untranslated (English fallback) page to a translated page in thehibuild. - Wrap literal braces in code spans (MDX treats bare curly braces as expressions).