Contributing
How to report issues and contribute to DocStudio: the repository, the conventions for commits and branches, and the checks a change must pass.
DocStudio is developed in the open on GitHub.
Report a problem
Open an issue with the package version, a minimal template and data that reproduce it, and the diagnostics you received. Report security problems privately to the maintainers instead of opening a public issue.
Before you change code
The repository has strict conventions, written down in the project contract at the repository root and the rule files beside it. Read them first. In short:
- TypeScript is strict, with no
anyand no unsafe assertions. - The code base contains no comments. Rationale belongs in
docs/and in decision records. - Commits follow Conventional Commits, for example
fix(render): escape attribute values. - Every behavior change ships with tests, and changes to features update the documentation center in the same commit.
- Modules depend only in one direction:
coreimports nothing,renderimportscore, and so on. - Development happens on feature branches. The
mainbranch holds only the published build.
Verify locally
pnpm install --frozen-lockfile
pnpm run verifyverify runs the policy checks, license check, formatting, lint, type checks, tests, build, the package check and a dependency audit.
Documentation
Product documentation lives in docs/center in the repository. This website imports it at build time, so fixing an article there fixes it here.