Thanks for contributing to SmartDocs.
cp .env.example .env
npm install
npm run db:up
npm run prisma:migrate -- --name init_templates
npm run prisma:generate
npm run editor- Keep template schema and renderer behavior aligned.
- Add or update starter examples when you add new template features.
- Prefer small, focused pull requests.
- Include reproduction steps for bug fixes.
Discussions > Ideas: feature proposals and roadmap suggestions.Discussions > Q&A: usage and implementation questions.Issues: implementation-ready bugs and scoped feature work.
Run:
npm run check
npx playwright install chromium
npm run golden:pdfAnd if your change affects PDF output:
npm run render:pdf -- --template examples/enterprise-cover-template.json --data examples/enterprise-cover-data.json --out out/enterprise-cover-render.pdf- Change is scoped and documented
- Schema updated (if needed)
- Editor and renderer both updated (if needed)
- Example template/data updated (if needed)
- Commands in README still valid