Skip to content
HomePlayground

Build with it

Contributing

Thanks for helping improve eventline.

eventline is a notation for event models, a CLI that checks and draws them, and the documentation that teaches both. Contributions should stay focused on clarity, correctness and examples.

  1. Fork the repo or branch from main.
  2. Make one focused change.
  3. Run npm test.
  4. Update the docs and examples when syntax or behavior changes.
  5. Open a pull request. main accepts changes through pull requests only.
  • Prefer concrete examples over abstract prose.
  • Keep the examples in examples/ valid: npx eventline-axi validate examples/<file> should report no errors.
  • Keep the README, docs/LANGUAGE.md and docs/EXAMPLES.md consistent with the examples they quote.
  • After changing an example, the diagram code or anything in lib/, run node scripts/build-site.js. The site tests fail if you forget.
  • A new validation rule needs an entry in lib/rules/catalogue.js and a test. Then run node scripts/build-rules-doc.js; the tests fail if docs/RULES.md is stale.
  • Write documentation with one sentence per line.
  • Keep local machine paths, secrets and session artifacts out of the repo.
  • A new file in docs/ also needs a page entry for the docs site; see Architecture. The tests tell you what is missing.

Architecture maps the code. Documentation maps the documentation.

Include a short summary of what changed, why, and which examples or docs you updated.